Hello members!
For a term paper, I wanted to check whether a lin-log model or a cubic function is better for a prediction. We were taught Stata at university, but unfortunately this is the first time I am trying to use it practically. Anyway, one variable is GDP per capita. This can be logarithmized via "gen logGDPTotal = log(GDPTotal)". But there is apparently also for scatter the option qfit, which produces the same. So generation is redundant?
Unfortunately, when I use the following command, no useful result comes out: twoway (scatter GDPTotal FIW19) (lfit GDPTotal FIW19) (qfit GDPTotal FIW19)
I would like to generate a similiar graphic.
Related Posts with Linear-Log Cubic regression
Extensive and Intensive margins à la Hummels and Klenow (2005)Dear Stata users, I am studying the effect of migration on trade and I would like to start on calcul…
Looping over pairIs it possible to loop over a pair rather than one each? For example, as a hypothetical code, I woul…
test for no change in population after policy (with categorical variables)Hi all, I am trying to test whether the class of people in a marriage are the same after a policy. …
Nested foreachDear all, I have been struggling with the Code: foreach command for the following task: Code: …
quietly use ado which insists in noisily displayingI'm hoping to get advice on how to silence an ado which I cannot edit. Code: log using mylog.log,…
Subscribe to:
Post Comments (Atom)
0 Response to Linear-Log Cubic regression
Post a Comment