Data generation from model

How to generate data from this equation ?
the base model is y=10+0.1x+0.03x^2 + u
draw 1000 values from x from U(0,3)
draw u from chisquare distribution with degree of freedom 10

Antworten (0)

Gefragt:

am 15 Jun. 2020

Kommentiert:

am 15 Jun. 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by