1
vote
Accepted
Generate multivariate distributions of lognormal and normal distribution in python
Strategy:
Calculate the normal mean and variance for the lognormal variables, then simulate the normal variables and calculate $e^\cdot$.
An AR-process with diagonal $\phi$ and noise cov $C_a$ will ...
1
vote
Generate multivariate distributions of lognormal and normal distribution in python
To generate random numbers from correlated distributions where two are lognormal and one is normal, and then extend it to an AR(1) process, you can follow these steps:
Step 1: Define Parameters and ...
1
vote
Sign of correlation between $y$ and $\hat{y}$ with and without intercept
For simple linear regression (with an intercept) you have $\hat \beta_1=\frac{\sum (x_i-\bar x)(y_i-\bar y)}{\sum (x_i-\bar x)^2}=\frac{s_y}{s_x}r_{x,y}$ and, since $s_x >0$ and $s_y > 0$, this ...
1
vote
Models for fully correlated data
Your question includes aspects of basic longitudinal data analysis, time-series analysis, and multi-state time-to-event analysis. Each of those is complicated enough; combining them can be even ...
1
vote
Spearman vs. Pearson for an evenly distributed variable. Can I just choose the coefficent with the stronger correlation?
Have you read about Anscombe's quartet? Get that data and compute the Spearman's r and also Kendall's tau; the results are interesting. Bivariate correlation analysis is quite limited and can be ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
correlation × 6262regression × 1025
r × 635
time-series × 477
pearson-r × 392
hypothesis-testing × 295
statistical-significance × 292
covariance × 290
spearman-rho × 277
multiple-regression × 215
mathematical-statistics × 201
machine-learning × 192
categorical-data × 183
probability × 160
normal-distribution × 146
multivariate-analysis × 145
self-study × 143
cross-correlation × 142
independence × 138
autocorrelation × 134
variance × 129
pca × 129
p-value × 128
distributions × 123
random-variable × 120