Transcription of Data Analysis Declare data with Stata Cheat Sheet TIME ...
{{id}} {{{paragraph}}}
Data AnalysisCheat Sheetwith StataFor more info, see Stata s reference manual ( )Tim Essam Laura Hughes us @StataRGIS and @flaneuseksinspired by RStudio s awesome Cheat Sheets ( )updated May 2021CC BY : we are not affiliated with Stata . But we like rep78 variable to be an indicator price the third category of rep78 to be the base categoryregress price ib(3).rep78specify base indicatorfvsetcommand to change basefvset base frequent rep78set the base to most frequently occurring category for mpg as a continuous variable and specify an interaction between foreign and mpgregress price # variable as continuous#create a squared mpg term to be used in regressionregress price mpg # rep78 as an indicator; omit observations with rep78 == 2regress price io(2).
Data Analysis with Stata Cheat Sheet For more info, see Stata’s reference manual (stata.com) Tim Essam (tessam@usaid.gov) • Laura Hughes (lhughes@usaid.gov)
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}