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 missing observations under several conditionsHej Statalist, I have a problem with dropping some observations. I analyse a trade data set and hav…
Regression output does not show all coefficientsHi, I have a quick question: When I enter the following code for a regression with 1 independent v…
Manipulate x-axis in twoway graph with dates Hi Stata users, I want to make a twoway bar graph that plots a number (on the y axis) against a dat…
merge on most recent fiscal year endHi Statalist, I am trying to merge an annual dataset with a quarterly dataset based on most recent …
classified after XT models - invalid subcommand classificationHello, I am using 4 binomial models. Logit, xtlogit re, xtlogit pa, and xtlogit fe. After logit I us…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a ttest with conditions?
Post a Comment