Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: AW: FW: Transformation of SE


From   "Loncar, Dejan" <LoncarD@unaids.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: AW: FW: Transformation of SE
Date   Wed, 1 Apr 2009 10:48:53 +0200

Thank you Martin, 

This works

predictnl phat= predict(), ci(lb ub)

I suppose that I need to do antilog for both, predicted values and lb and ub?

Kind regards,
Dejan

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
Sent: 01 April 2009 10:04
To: statalist@hsphsun2.harvard.edu
Subject: st: AW: FW: Transformation of SE 


<> 

Take a look at

*************
help predictnl
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Loncar, Dejan
Gesendet: Mittwoch, 1. April 2009 10:01
An: statalist@hsphsun2.harvard.edu
Betreff: st: FW: Transformation of SE 

Dear All,

 I run regression and used a log transformation to normalize the
distribution of variables and meet other regression assumptions. 


I got predicted values that I need to transform (antilog) using Duan's
Smearing Retransformation and stdp standard error of the linear
prediction xb which a I would use eventually to calculate ub and lb.

reg lnX lnY lnZ
predict yhatraw
predict SE, stdp
gen YHTSMEAR=(exp(yhatraw))*meanres

My question is what to do with SE. How can I transform it after I do
antilog of predicted values using Duan's Smearing Retransformation? 



Thank you in advance 



Dejan



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index