Hi! I don't know how to create a ttest for this null hypothesis:
- H0: b1 +4b3 <= 50
- H1: b1 +4b3 >50
- (b2 ismultiplied by 0)
The case is about tha variables that determinate the vote rate for a candidate to reelection. Growth is the first variable and Inflation is the second one.
Now I need to solve the following case:
Test if in an economy with growth=0 and inflation=4 the candidate can have more than the 50% of the votes.
I attached the database
Thank you very much!
Andrés
Related Posts with How to make a ttest with conditions?
Dropping multiple variables ending within a range of numbersDear Statlist, I am currently trying to organise data from the LISS dataset. A number of variables …
Colors in Histogram Hi. I want to give both the Yes bars a different color from the two No bars. How can this be done.…
Change in the number of employed people in all states except for state i normalized by number of employed people in state iDear Stata Forum, let's say I have state level employment data of 50 states for the years 2000 and 2…
Display fixed effects without using 'fe'Hello. I am trying to run a fixed effects model, but as I am using country dummy variables. I have s…
WeightingHello guys, I am trying to replicate an approach from Barber, Brad M. and Huang, Xing and Odean, Ter…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a ttest with conditions?
Post a Comment