random time series and regression models
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I need to generate 2 time series. the first one with 7000 numbers and the second with 20000. The first one has to be normally distributed and the second log-normally. How do you do that?
After creating that, I have to get a regression model for both time series.
Please help!
2 commentaires
Réponse acceptée
Adam Danz
le 10 Mar 2020
Modifié(e) : Adam Danz
le 10 Mar 2020
You can use r = normrnd(mu,sigma,1,100) to generate 100 random numbers from a Gaussian distribution with mean mu and standard deviation sigma.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Linear Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!