home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3371 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.5 KB  |  48 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!REUSEL.LEIDENUNIV.NL!ROTTGERI
  3. X-Mailer: ELM [version 2.3 PL11]
  4. Message-ID: <9207181027.AA17937@reusel.LeidenUniv.nl>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Sat, 18 Jul 1992 12:29:08 -0500
  7. Reply-To:     Huub Rottgering <rottgeri@REUSEL.LEIDENUNIV.NL>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         Huub Rottgering <rottgeri@REUSEL.LEIDENUNIV.NL>
  10. Subject:      question
  11. Comments: To: sas-l@awiimc12.imc.univie.ac.at
  12. Lines: 34
  13.  
  14. Dear Sas Community,
  15.  
  16.  
  17. Does any one have a simple straight forward solution for
  18. using SAS for the following problem:
  19.  
  20. I have a data set with N observation X_i and Y_i
  21. and variances for Y: sigma_y_i. I would like to fit
  22. a least square model to this data set that takes into
  23. account the known variances sigma_y_i.
  24.  
  25. As far as i understand from the explanation that goes with
  26. proc reg, it is not possible to do this in this procedure. Note
  27. that using option weight or freq won't do the
  28. job. Using this the correct solution might be obtained
  29. but the estimated errors are not calculated taking into
  30. account sigma_y_i.
  31.  
  32. A solution would be  using proc mixed, but unfortunately
  33. we have sas 6.07  on a unix sparc machine, where
  34. proc mixed is not yet implemented.
  35.  
  36. regards,
  37.  
  38.  
  39. Huub
  40.  
  41.  
  42. --
  43. Huub Rottgering
  44. Institute:  Sterrewacht Leiden, Leiden University
  45. mail:       P.O. Box 9513, 2300 RA Leiden, The Netherlands
  46. Telefone:   31-71275838  Telex: 39058 astro nl  Telefax: 31-71275819
  47. email:      rottgeri@strw.leidenuniv.nl
  48.