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?
how to append results using tempfile?Sorry for that I did't make myself clear in the last post. I want to append the coeffcient using tem…
command for recognizing the co-residing parents and sons/daughtersHow can I recognize co-residing parents and sons/daughters in the Employment & Unemployment Surv…
gen mean with if statementsI am fairly new to STATA, and need to create a moving average for my data. (I cannot use tsset for t…
Clear results saved in r()Dear All, I am trying to clear the r()-saved results left by the previous command before going to t…
combine string values to one variableHow to combine these names to one variable by using ";" as a break …
Subscribe to:
Post Comments (Atom)
0 Response to How to make a ttest with conditions?
Post a Comment