Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

Suppose we are using logistic regression on a binary outcome variable $Y$ with two continuous predictors $X_1$ and $X_2$. Suppose the observation $Y = 1, X_1 = 10, X_2 = 15$ occurs 1000 times. In SAS, how would you account for this frequency in the regression without having to manually type the observation 1000 times?

Edit. I figured it out.

share|improve this question

1 Answer

Use FREQ option. The code look like

  proc logistic data=datax;
  freq f;
  model Y= X1 X2;
  run;

where in f variable you can provide the frequency.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.