Least Squares Estimate Using a Monte Carlo Method

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

In the frame on the right, an estimate is made of the true slope and intercept for each repeated random sample. It is well-known that the covariance between intercept and slope estimates is negative. In this frame, you can observe this well-known relationship by observing the general motion of the "blue dot" as you vary the sample size and repeated random samples.

Contributed by: Richard Simson (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.