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

Re: st: iweights and ROC curves

From   Steven Samuels <>
Subject   Re: st: iweights and ROC curves
Date   Thu, 11 Dec 2008 19:30:12 -0500

Do not use iweights.-lroc- after -logistic- with frequency weights works fine..

Austin Nichols once pointed out that you can compute fweights that give the same results as pweights to any number of decimal places:

For k decimal places, use
new frequency weight = round(10^k * probability weight,1)

So for 2 decimal places:

233.43 -> 23,343  a whole number.


On Dec 11, 2008, at 1:30 PM, Patrick McCabe wrote:

Does any one know if the ROC curves produced by a logistic regression model using svy subpopulation and importance weights are 'legit'? The resulting model is the same as the model produced with pweights but if you use pweights lroc does not work.

*   For searches and help try:

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