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?
Loop to open, keep variables, and join different filesHello, I am struggling with the following task that already kept me bugging for hours. This is the…
Piecewise Regression with a median as a knotDear Stata Users My data is in panle format (firm, time). I need to estimate piesewise linear regre…
Shaded area xtline graphDear Statalisters, Currently I am working on a panel dataset where my probit model predicts either …
Saving multiple Excel files as Stata filesIn "C:\Users\budug\OneDrive\Documents\School\Projects ", I have a few Excel files, namely data_2004,…
Whether to control for a certain factorHi, I am trying to estimate the effect of different types of managerial incentives (autonomy, perfor…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a ttest with conditions?
Post a Comment