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?
tab_chi updated on SSC: revisions to tabmThanks to Kit Baum, as ever, the tab_chi package on SSC has been updated. The revisions concern the …
Linear probability models with interactions: how can I calculate relative effects / relative risk ratios?Dear Statalisters, I am running Linear Probability Models with interactions and would like to calcu…
Split string variables with numeric valuesHi, I am using Stata 17 and need some help with splitting of string variables. Below is an example …
Testing some stuff Code: sysuse nlsw88,clear reg married i.collgrad##c.wage margins collgrad, at(wage== (5 10 15)) po…
Large variances in probit regressionHi, I encountered the following problem when running IVPROBIT: the regressors include a few dummy v…
Subscribe to:
Post Comments (Atom)
0 Response to How to make a ttest with conditions?
Post a Comment