BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
pvareschi
Quartz | Level 8

Re: Predicting Analytics on Big Data

What is the difference between a Frequency and a Weight variable? (see page 4.5-4.6 of the course text)

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

Both would get you the same parameter estimator, but Freq would have less confident interval, Weight would be bigger. In other words Freq would get you more accurate parameter estimator / better model.

@Rick_SAS  wrote a blog about it a couple of years ago .

View solution in original post

4 REPLIES 4
ed_sas_member
Meteorite | Level 14
Hi @pvareschi
A WEIGTH statement can Ne used when you already have frequencies in your dataset (in a PROC FREQ for instance).
However, the main difference in my opinion is that the value of the WEIGHT variable is not required to be an integer.
Hope this helps!
Best,
pvareschi
Quartz | Level 8

Thank you for your comments; I also wonder whethe the two variables may fulfil a different roles, in terms of their effect on a fitted model...or, at least, that seems to be the case from the wording in the course text, although I cannot understand how that is applied in practice.

Ksharp
Super User

Both would get you the same parameter estimator, but Freq would have less confident interval, Weight would be bigger. In other words Freq would get you more accurate parameter estimator / better model.

@Rick_SAS  wrote a blog about it a couple of years ago .

 

This is a knowledge-sharing community for learners in the Academy. Find answers to your questions or post here for a reply.
To ensure your success, use these getting-started resources:

Estimating Your Study Time
Reserving Software Lab Time
Most Commonly Asked Questions
Troubleshooting Your SAS-Hadoop Training Environment

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 4295 views
  • 1 like
  • 4 in conversation