I want to obtain WLS(Weighted Least Square) estimate susing -[aweight]- , I do not know what should be the value of -[aweight=?]-
My model is :
reg reject black obrat high_ltv medium_ltv unem credit_hist public_rec married, cformat(%9.3f)
And my dataset is :
input byte(reject black) float(obrat high_ltv medium_ltv unem) byte(married credit_hist public_rec)
0 0 37 0 0 3.2 1 1 0
0 0 21 0 0 3.1 1 1 0
0 0 7 0 1 10.6 1 1 0
0 0 35 0 1 2 0 1 0
0 0 29 0 0 1.8 1 1 0
0 0 33 0 1 3.2 0 1 0
0 0 40 0 0 3.9 0 1 0
0 0 33 0 1 3.1 1 1 0
0 0 37 1 0 3.2 1 1 0
0 0 19 0 0 1.8 1 1 0
0 0 34.7 0 0 3.2 0 1 0
0 0 33 0 0 4.3 0 1 0
0 0 35.2 0 1 10.6 1 1 0
0 0 34 0 0 1.8 0 1 0
1 0 7 0 0 3.6 1 1 0
0 0 36 0 0 3.9 1 1 0
0 0 33 0 0 3.2 1 1 0
0 0 17.8 0 0 4.3 1 1 0
0 0 41 0 0 3.2 1 1 0
0 0 29 0 0 4.3 0 1 0
0 0 42.1 0 0 5.3 1 1 0
0 0 35.5 1 0 10.6 1 1 0
0 0 17 0 0 4.3 1 1 0
0 0 38 0 1 3.2 1 1 0
0 0 33.1 0 0 10.6 1 1 0
0 0 35 0 1 1.8 0 1 0
0 0 33 0 1 1.8 1 1 0
0 0 24 0 1 3.6 1 1 0
0 0 35 0 1 3.1 1 1 0
0 0 24 0 0 3.2 1 1 0
0 0 31.1 0 1 3.2 0 1 0
0 0 39 0 0 3.2 1 1 0
0 0 35.6 0 0 1.8 1 1 0
0 0 16 0 0 10.6 1 1 0
0 0 22 0 1 3.2 0 1 0
1 0 16 0 1 3.2 0 0 1
0 0 31 0 1 4.3 1 1 0
0 0 23 0 0 3.1 1 1 0
0 0 37.2 0 1 3.2 1 1 0
0 0 30.1 1 0 1.8 0 1 0
0 0 35 0 1 2 1 1 0
0 0 42 0 1 3.2 0 1 0
0 0 24 0 0 5.3 1 1 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1 0 50.5 0 0 1.8 1 0 0
0 0 39 0 1 3.2 0 1 0
0 0 27.8 0 1 3.2 1 1 0
0 0 27 0 0 1.8 1 0 1
0 0 24 0 0 3.2 0 1 0
0 0 43 0 1 3.2 1 1 0
0 0 21 0 0 3.6 1 1 1
Related Posts with Wls
STATA Help( rolling beta, quintile portfolio, and the regression analysis)kindly looking for help. I have a hedge fund data year 2010 to 2019 contains dates and thousand of f…
New version of wridit on SSC (AGAIN)Thanks once again to Kit Baum, a new version of the wridit package (superseding the one announced th…
Improve your data proficiencyIndepth Research Institute a NITA certified training firm would like to inform you that it has partn…
Creating a flag variable for a time range intervalHi. I need to create a flag variable (r30) based on a time interval (TimeToClm) variable. Basically,…
Group characteristicsI would appreciate inputs on comparing characteristics of two randomized groups of patients (age, ge…
Subscribe to:
Post Comments (Atom)
0 Response to Wls
Post a Comment