File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -181,11 +181,10 @@ program rfrontier_p
181181 if `ninfopts' > 0 {
182182 quietly{
183183 local sv exp(xb(#2))
184+ local su exp(xb(#3))
184185 if " $vdistribution" == " student" {
185- local su exp(xb(#4))
186- local df exp(xb(#3))
186+ local df exp(xb(#4))
187187 }
188- else local su exp(xb(#3))
189188 local sigma sqrt((`sv')^ 2+ (`su')^ 2)
190189 local lambda (`su')/ (`sv')
191190 local gamma (`su')^ 2/ (`sigma')^ 2
@@ -218,12 +217,12 @@ program rfrontier_p
218217 svmat double `influencemat', name(`influencepar')
219218 if " $vdistribution" == " student" {
220219 replace `influencepar'`= `npar'- 2' = `influencepar'`= `npar'- 2'* exp(_b[lnsigma_v:_cons])
221- replace `influencepar'`= `npar'' = `influencepar'`= `npar'= '* exp(_b[lnsigma_u:_cons])
222- replace `influencepar'`= `npar'- 1 ' = `influencepar'`= `npar'- 1 '* exp(_b[lndf:_cons])
220+ replace `influencepar'`= `npar'- 1 ' = `influencepar'`= `npar'- 1 '* exp(_b[lnsigma_u:_cons])
221+ replace `influencepar'`= `npar'' = `influencepar'`= `npar''* exp(_b[lndf:_cons])
223222 }
224223 else {
225224 replace `influencepar'`= `npar'- 1' = `influencepar'`= `npar'- 1'* exp(_b[lnsigma_v:_cons])
226- replace `influencepar'`= `npar'' = `influencepar'`= `npar'= '* exp(_b[lnsigma_u:_cons])
225+ replace `influencepar'`= `npar'' = `influencepar'`= `npar''* exp(_b[lnsigma_u:_cons])
227226 }
228227 forval i = 1/ `npar'{
229228 gen `typlist' `varlist'`i' = `influencepar'`i'
You can’t perform that action at this time.
0 commit comments