Ask a question

What is the proper way to determine correlation when each subject provides a variable number of observations?

I have collected observations (y variable) from people of various ages (x variable). Some people provided multiple data points (anywhere from 2-10), whereas others provided just one. I want to see if x is correlated with y. How would I account for the fact that some people gave more observations than others? This is not a time series dataset.

Thanks for any help!

No answers ... yet!