instruction
stringlengths
9
38.7k
I am new to q learning with reinforcement. I run an experiment where I have to make a series of actions (and there is an ideal series length of about 15 actions) to get a reward. It is a time series prediction, that should capture highest and lowest values in the time series locally and make actions at these points. I ...
I want to figure out adjusted expenditure (AE) as a proportion of income (Y) for different income bands and family compositions. The adjustment is taking mortgage (M), pension (P) and child & education (K) related expenditure away from total expenditure (E). My variables are Y, E, M, P, K, marriage status, pension st...
I have read somewhere that the skewness can be interpreted as the variance of variance. Can you provide me with an intuition on how it may be the case?
A textbook I'm currently reading defines independence as follows: Two events $A$ and $B$ are independent if $P(A|B)=P(A)$ (provided that the probability of the events are positive) Then derives the following as a theorem: Two events $A$ and $B$ are independent iff $P(A \cap B)=P(A)P(B)$ My question is this: can we give...
I have code in Tensorflow using CNN model to detect text. The Model contain 9-conv layers flowed with RELU activation and 4-max pooling layers with window and stride equal to 2. image size is 224*224*3, and the label for each image is (x,y,width,height); where the x and y are the text coordinate(location) in image, wid...
Consider a machine learning program which produces a classifier that works perfectly correctly on 1,000 training examples. When subsequently applied to 100 different, randomly selected examples the results are: Actual Class P N Classifier P: 10 5 Results N: 15 70 What wo...
Im trying to find whether there is a difference between two paired sets of data. The data comes from 20 people and represent test scores before and after taking a course. The sample size is relatively small with only 20 individuals in total. Originally I intended to do a paired T-test, but Im now wondring if Wilcoxon ...
In this question a commenter says that "differencing a series that is not integrated is certainty problematic from the statistical perspective". What is an integrated time series, and why is differencing a series that is not integrated problematic?
I am trying to understand batch size parameter in neural networks (present in keras, tensorflow and etc). Here is my understanding how neural network works. Assume we have independent vector $x = (x_1, ..., x_n )$ and dependent vector $y = (y_1, ... y_n)$. We would like to find a function s.t.: $$f(w, x_i)= y_i.$$ We ...
I am going back and forth on which tests to do. I have two paired variables, that are both positive integers (0,1,2,3...etc). $n = 559$. The variables represent the error resulting from two different methods. I want to know if I get the smallest error using method 1. I turned to the paired t-test, which requires norma...
Just for fun I'm trying to do some simple medical diagnosis using Bayes' theorem. Right now I'm calculating P(condition | symptoms) = P(symptoms | condition) * P(condition) for each possibly condition, then choosing the most likely condition given the present symptoms as the "diagnosis" (note that for simplicity's sak...
I am having a bit of trouble understanding how the matrix multiplication is carried out in the exponent term of the multivariate gaussian distribution. I am going to call the covariance matrix C. In the exponent term for the multivariate gaussian, it looks like -1/2 (x-u)^T C^-1 (x-u) Lets assume we have x be a 600...
Let's say $$E_p[f(X)] = E_p[g(X)]$$ for all $p \in S$, where $S$ might be some parametric family of densities, for instance. Under which assumptions on $S$ does this imply $f = g$? I am reading Efron & Morris (1973) and they talk about completeness of distributions implying equality of $f$ and $g$ (Equation 1.15), but ...
I am trying to build a basic content-based recommender engine based on movie genres, the data set is from MovieLens. Some of the movies have more than 2 genres. part of my code: head(genre_matrix2,15) Action Adventure Animation Children Comedy 1 0 1 1 1 1 2 0 ...
The research question: Do vision test results differ among 3 groups (of eyes) separated on the basis of retinal health: Normal: Mild Disease; Moderate disease. Problem: Both eyes of each person are tested and we would like to use data from both eyes. For some people, both eyes are in the same group (ie. have the same ...
looking for assistance in solving what I thought would be straightforward question but am struggling with. I monitor large numbers of Network gear including switches, routers and firewalls for availability. I report monthly from a network monitoring system database on combined uptime availability using 5 significant f...
I have a year of spatial sensor data in the format unixtime x y z. The sensor is attached to a flexible strained submerged string. The string is occasionally pulled and, after some time, let go. This means that a sensor coordinate oscillates over time with different amplitudes and takes a dive on occasion. The measurem...
I'm doing a nonlinear regression that involves $y=A+B\cdot \text{erf}(\frac{C-x}{\sqrt{2}w})$. Parameters $A$, $B$, and $C$ (the one I really care about), all need to be estimated and $x$ is a vector of around 20 elements (samples). Now, erf is pretty similar to sigmoid (the usual logistic function that people seem to ...
I'm facing an optimization problem I'll have to run (with a variety of different hyperparameters) and I'd like some tips on how best to optimize it. I have a function $f$ which I can only evaluate in a noisy fashion, that is, there is a random variance to it. I have some 7 variables in group "A", and another 4 variable...
Assuming that n is large, can the inclusion of a feature cause model performance to ever decrease? Or is the inclusion of a useless feature ignored by the classifier and thus including more features either does not change performance or increases it?
According to WMD paper, travel cost or Euclidean distance between word pairs is calculated the way shown in the figure below. Is this distance calculated in pair wise in a specific order? Such that the first, second and so on from each document as shown in the figure Or Obama's distance is calculated from all four wo...
I have calculated an NMDS from vegetation community data taken from two habitat types using the metaMDS() function in vegan. My goal is to see if habitat type helps explain community composition and it was suggested to me that I could use the site scores of the NMDS axes as response variables in a linear model with hab...
Lets say you have n x n grid, and each square on the grid is either black or white. How many different combinations of this grid can exist? I figured 9! would be for the grid, but I don't know how to incorporate the fact each tile can be 2 different things.
I know this is a loaded question given the infinite number of circumstances surrounding what kind of machine learning algorithm to implement. I was just wondering if there is a general framework that can hint at a situation in which "regular" machine learning algorithm will certainly outperform a neural net.
I am writing a Master's Thesis based on a four construct model. I know I have to conduct a Cronbach's alpha test for reliability and I also need to conduct a confirmatory factor analysis for validity of constructs prior to conducting the correlation and regression analyses between the constructs. But I have a few quest...
I would like to test the following hypothesis: High trait anxiety, depressive traits, and fear of movement will be higher, whilst optimism will be lower, for group 1 (patients) as compared group 2 (healthy controls). My idea on how to test the hypothesis: Conduct a RM ANOVA with group type (patients/controls) as betwe...
I want to fit a distribution to a set of univariate observations that were obtained using two different measurement techniques, which have with different measurement errors. One thought would be to fit a mixture model to the data, in which I first fit independent distributions to the values obtained from each of the tw...
I have an average score as a response, while days and distance as independent variables. Distance is categorical with two categories: long distance and short distance. This is my regression: (Y)^1/2 = 4.53 + 4.92day - 0.54day^2 - 0.2*Short Therefore, I have two curves: Long distance: (Y)^1/2 = 4.53 + 4.92day - 0.54day...
Basic question I guess. I'm fitting VAR models (and derivatives), and I've tried my hand on model order selection based on regularization but now I'm back to informative criteria (IC). Thing is my series are stationary on the long run, so the ICs usually select large lag orders, resulting in roots of the characteristic...
{1} says: For generic multi-document summarization of news, supervised methods have not been shown to outperform competitive unsupervised methods based on a single feature such as the presence of topic words and graph methods. The paper was written five years ago. Are supervised methods still unable to outperform uns...
In the training phase of Batch normalization we keep moving average of the activations in every layer so that we can use those "moving averages" in the test time. My question is why do we need to take moving average? We can approximate the mean by taking the mean of the activations in every layer in each iteration and ...
A lot of methods utilize variational inference for hyperparameter calculation. What are the advantages and disadvantages of variational inference ? (ex: does it guarantee a global optimal ? )
In Jeff Wooldridge's Econometric Analysis (2nd edition), he derives the expression for the difference-in-difference-in-differences (DDD) estimator on page 151 for the two period case where state B implements a health care policy change aimed at the elderly. First, I am puzzled by why the equation (6.56) does not have a...
Stats textbooks almost always tell us a significant interaction is necessary if we want to test the simple main effects[1]. But why? Is this again a way to control the error rate? If so, significant interactions are not indeed a must-have-first, since we can control error rates using, say, Bonferroni correction. [1] Se...
I would like to test for the difference of measures between genders. Repeated measures were carried out. What test would you suggest is best for this and what would be the degrees of freedom considering: there is no change in conditions uneven group size (females=6 and males=4) missing repeated measures (8 levels)...
So, I'm struggling with this. Can anyone explain this in a non-statistical manner? So I have a deck of cards and I take one out and the probability of it being a spades is 13/52 or 1/4 (Event A). Then, I want another spades and the probability is now 12/51 (Event B). So clearly B is dependent on A, but does that mean A...
Let's suppose we have a test composed by 40 questions. Every question has 5 options. Let's suppose that I didn't study for it, so for every question I choose one of the answers at random. Assume that I have $\frac15$ probability of selecting the right answer, and $\frac45$ of picking a wrong answer. My questions (which...
On R, I have created a mixture distribution via a convex combination of a standard normal distribution, and a normal distribution with mean -3, variance 1 (i.e. subtracting 3 from a standard normal distribution). In doing so, I have observed that the difference between absolute values of the upper quantiles (e.g. 95%) ...
I'm trying to estimate a regression where: I can only see the sex of a subset of the population I do know the total population size I'd like to know how many events are driven my men vs women, using a regression model In some cases, I only have a very small sample where I know the sex of the population, so I'd like t...
Some paper control for the term in regress function using city fixed effects(or the polynomials in the latitude and longitude of the city). I want to know the reason. $lnY_i = \alpha + \beta ln A_i + \gamma ln K_i$ where $Y_i$ is GDP, $A_i$ is productivity, $K_i$ is capital. And we are interested in the relation of $K_...
I did a ADF test to my data set to find unit root using STATA. I get t-test test statistic which is -2.363 from ADF. I think it is much lower than -1.96 so it can reject the null. But actually its critical value is much higher that normal value like -1.96. What happen in this case? Why critical value is much higher t...
What is observation model in Bayesian statistics? Wiki contains no such definition. I know what Sttistical model is. Is observation model the same thing? https://en.wikipedia.org/wiki/Statistical_model
For a simulation study I derived the posterior distribution of a parameter $\theta$ with data $D$ as $p(\theta|D)$. I can sample from the posterior, but there is no analytic expression. The posterior allows me to calculate the 95% credible intervals as the 2.5 and 97.5 percentile of a sampled Monte Carlo distribution. ...
I try to solve a binary classification problem. I have a set of features to build a model. The simplest model just pics a single feature $f$ and optimizes a cutoff $c_f$ to separate the two classes. Question 1: Can I think of the feature to select and its corresponding cutoff as of 2 parameters to be optimized and run ...
My input is one integer, and it should give me 1 if it's the good interval, otherwise 0, such as: Is this problem solvable with a neural network ? If so, how ? I tried something using Keras but couldn't make it work, the new values predicted aren't right: import sys from keras.models import Sequential from keras.layer...
I want to calculate Bayesian confidence interval of PD 50 (median protective dose) values as shown in this paper DOI: 10.1016/j.vaccine.2006.12.049. My data is library(dplyr) Dose=c(1,1/4,1/16) Protected=c(5,3,3) Total=c(rep(5,3)) df=as.data.frame(cbind(Dose,Protected,Total));df Then, I calculated Log10 (PD50) using...
I am testing gas mileage between three brands of gasoline. I am testing on a small population of 10 cars. Hypothesis: Cars using higher grade gasoline will have a significant higher gas mileage than cars using regular grade gasoline. Null Hypothesis: There will be no significant difference in gas mileage between cars...
I have a real-world problem which has left me puzzled in terms of how to approach it with any degree of rigour. I'm not a statistician,, and although I can understand it enough to produce a vague answer, I'd like to actually understand the stats involved. In order to illustrate what I mean, I'll give a simplified exa...
From my understanding of the terms: Self means: No supervision is required during training. Organizing means: To create a topographic ordered map by using unsupervised competitive learning and cooperative learning. Competitive: All neurons compete with each other to become a winning neuron. Mechanism known...
I have a probably very silly question, but somehow I am lost and don't get to the solution. Either it is my mistake or there is a mistake in the paper. Hopefully you can help me out! The problem is as follows: The density of random variable q that is uniformly distributed between 0 and $\bar{q}$ is given by: $$ \frac{\...
It's about the definition of a recurrent state. I think there might be something wrong in this book. it is said as following. Suppose a Markov chain starts in state i. State i is said to be a recurrent state if the Markov chain returns to state i with probability 1; that is, pi =P(ever returning to state i) =1 ...
I am analyzing a point pattern using G (nearest neighbor cumulative distribution) function, followed up by the envelope tests and in the same time using Nearest Neighbor Index test (Clark Evans test ). For this purpose I use spatstat, guided by "Spatial Point Patterns: Methodology and Applications with R" by Baddeley...
We did a small project at school and I would like to analyse the data. We conducted a survey of simple yes/no questions and I would like to see if there is a difference between the responses from males and females. For example, if I have 12 'yes' and 8 'no' answers from males and 4 'yes' 16 'no' answers from females, w...
I'm in a bit of a mess with interpreting the output of a Poisson regression model with log-transformed predictors. The predictors are counts, and the log transforms them for the linear part of model. glm(y ~ log(x1) + log(x2), data=dt, family=poisson(link="log")) I've been asked to present them as incidence rate rati...
What are the strengths or weaknesses of using the higher Cohen's kappa score to select a classifier from a pool of candidates? Back-story: I had a pool of candidate classifiers (~200 candidate models), and I did the best I could to find the "strongest". For each classifier I did this: compute true positive rate ...
I'm working with a panel data from a quasi-experimental study with the following characteristics 1) Unbalanced covariates between the control and the treatment group (according to Hotelling's T-squared test), though I've read that it's not cause for concern (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4310023/); 2) Hi...
Suppose we have a random variable $Y$ which follows normal distribution of unknown mean $\mu$ and variance is $9$. Suppose we have to calculate the one or two tailed confidence interval, will the formula be the same i.e. $ P( -z_{\alpha/2} \le \frac{Y - \mu}{\sigma} \le z_{\alpha/2})$
Given a sample $X_1,X_2,X_3,........,X_n$ from a normal distribution, that is $X_i $~$N(\mu,\sigma^2)$, the objective is to find the moments or as of now, the expectation of the sample median say $Y_{med}$. Assuming that the number of observations is odd i.e. $n->2n+1$. By formulating the distribution of the $k\:th$ or...
I am conducting analysis on a questionnaire which was a three-part study, not three separate studies. I asked the same exact set of validated scale questions for specific constructs for three different brands, but it was all within the same survey and had the same sample. Is it necessary for me to conduct construct val...
First I am not a stat person so I don't know much about core details of p-values. I have the LR coefficient values for the features. I want to know the p values of those features. I know that I can calculate the odds value by simply calculating $e^{coeff}$. However I want to know how to calculate p values with lr coeff...
I am looking at the effect of delivery of feedback, type of feedback and timing of feedback on job performance. A univariate analysis gives me different significant readings for each variable than running a separate one way anova for each variable (so 3 times in total). Which do I run??
Given a sample proportion $\hat{p} = \frac{X}{n}$, how can one easily find E[$\frac{1}{\hat{p}}$]? Clearly E[$\frac{1}{\hat{p}}$] $\neq $ $\frac{1}{E[\hat{p}]}$ Jensen's inequality says E[$\frac{1}{\hat{p}}$] $\geq$ $\frac{1}{E[\hat{p}]}$ Any assistance is appreciated.
I do not have a good theoretical background in machine learning, therefore will ask a maybe naive question, nonetheless, it's important for implementing my learning algorithm. I'm having a question about dropping levels in machine learning classifiers. As I'm having about 20 nominal varaibles as my features, and each ...
In my previous question: Using information about covariance between ARIMA models in forecasting I was interested in the more general case of how to use the covariance matrix in prediction intervals once it has been obtained. Here I am trying to produce the prediction intervals for hts forecasts using the covariance mat...
At school we talked about stratified sampling regarding scientific studies. I thought of a similar case: Let's assume you have 4 questions for a certain number of people. Each of those people should only given one randomly chosen question. That leads to 4 groups of people, specified by the question they were asked. Let...
First off: yes, this is a homework question. Anything leading to the right answer or hints would be much appreciated! (Rather than simply providing an answer). Okay, so say we have a coin where H = 0 and T = 1. And we flip it 100 times to create a binary sequence such as X = 00110100001001110. Then we count the number ...
We usually get an estimate of $\beta$ in the logistic regression by finding the $MLE$ of the observed random samples of $X_1,X_2....,X_N$. Then we use Wald's test i.e. ${[\hat \beta / S.E.(\hat \beta)]}^2$ to test whether that variable is significant or not. From what I have read, this Wald's test is based on two fact...
I have a problem which, in its general form, has been addressed on this forum: can you omit exogenous variables from the first stage regression in a 2SLS estimation? (see: here and here). The answer in both cases seems to be a clear "no", with the respondents suggesting that doing so will lead to an inconsistent estima...
I built two models in R and python, a General Additive Model and a Random Forest model. Both models were built on the same dataset: Albedo Year_Since_Burn Summer_SRAD Winter_SRAD 1 397.00 1 17801.70 6589.56 2 289.60 2 18027.20 6633.96 3 615.29 3 17397.10...
Have edited this post quite substantially to make it more focused and more standalone from my previous Excel spreadsheet-focused question. To give some context, I am trying to assess whether a marketing test has had an impact upon the survival of recurring financial donors. The donors are signed up to give a direct deb...
I would like to test for the difference of measures between genders. Repeated measures were carried out. What test would you suggest is best for this and what would be the degrees of freedom considering: there is no change in conditions uneven group size (females=6 and males=4) missing repeated measures (8 levels)...
The predictions for a Weibull proportional hazards model from R's predict.survreg() are not the expected survival times. Please help me understand this behaviour. For time $t$, the Weibull density is given, in the parameterisation of dweibull(), by $t\mapsto \left(\frac{a}{b}\right) \left(\frac{t}{b}\right)^{a-1} \exp\...
Suppose $Y = Xβ + ε$, where $Y$ is a random $n$-vector, $X$ is a random $k × n$ matrix, $β$ is a fixed $k$-vector, and $ε$ is a random $n$-vector where the coordinates are independent (of each other and of $X$) and distributed as $N(0, σ^2)$. Given least-squares estimates $\hat β_1,\; \hat β_2,\; …,\; \hat β_k$ of the ...
Let's say I want to find out $P(C=2|B=3)$ but I know that $B=3$ implies that $C\leq3$. Does it mean that I can use $P(C=2|B=3)=P(C=2|C\leq3)$?
I have a huge dataset of features on which I want to fit a Gaussian Mixture Model using standard expectation maximization, as it is implemented by sklearn. Since not all features fit into the memory at once, I need to train my GMM iteratively, i.e. one batch after the other. What is the best approach to do this? Just g...
I am currently trying to understand how parameter are being reestimated for hidden Markov models (HMMs), using expectation-maximization (EM). What I seem to have problems understanding is what the symbol emission probability is actually modelling. In the discrete case it would contain the probability of seeing each s...
I'm working with data from a lattice, that is squares located in a two-dimensional structure. I want to test whether groups of squares (which then are spatially correlated) have significant differences for a response variable. I'm using the pairwise wilcoxon test, however, as I mentioned above, the squares within eac...
Say you've been asked to discover if data supports the assertion that more than 50% of participants in a study did whatever the study is trying to find. In determining the null and alternative hypotheses, is it necessary to convert the percentage into a number by multiplying it by the sample size (e.g., were the sample...
I have a simple regression model (y = param1*x1 + param2*x2). When I fit the model to my data, I find two good solutions: Solution A, params=(2,7), is best on the training set with RMSE=2.5 BUT! Solution B params=(24,20) wins big on the validation set, when I do cross validation. I suspect this is because: solutio...
The set of local independences assertions given a bayesian network structure $G$ is given as: $$ I_l(G) = {\forall X_i: (X_i \perp Nd_{X_i} | Pa^{G}_{X_i})} $$ $ Nd_{X_i}^G$ represents the non-descendants of $X_i$ in $G$ $Pa^{G}_{X_i}$ represents the parents of $X_i$ in $G$ The set of global independences given a bay...
I want to calculate the expected value of S that is the total damage. S is the sum of single damages. $N$ is the total number of damages and it is also a RV that is distributed as a Poisson. This seems like a Compound Poisson process to me except for the fact that I can't handle the case when $N=0$. I don't know ho to...
Binary cross entropy for multi-label classification can be defined by the following loss function: $$-\frac{1}{N}\sum_{i=1}^N [y_i \log(\hat{y}_i)+(1-y_i) \log(1-\hat{y}_i)]$$ Why does keras binary_crossentropy loss function return different values? What is formula bellow them? I tried to read source code but it's not ...
I have conducted an experiment with 12 conditions (1 baseline). One of the response variables is binary, others 7 point Likert scale. I want to test all other conditions against the baseline (11 comparisons) instead of all pair comparisons. My plan is to use Fisher's Exact test for the binary response, and Tukey HSD fo...
An important basic theorem of linear regression is that the maximum likelihood estimates (MLEs) of the coefficients coincide with their least-squares estimates. What about the variance of the error term? Does its MLE coincide with the variance of the residuals, that is, $$ \frac{∑_i (Y_i - \hat Y_i)^2}{n} $$ where the ...
I have a list of trials where I pick balls at random from a bag containing different color balls. My focus right now is on a specific color say RED such that Trial = {RED, NoRED, RED, NoRED, NoRED, NoRED, NoRED, RED, NoRED, NoRED} From this data N = 10, p=numberOfRed/n = 3/10 = 0.3, q=1-p=0.7 Now I have a new data poi...
Hard to express what I'm trying to ask in a short title. I have a dataset in which respondents are asked to choose a hospital at which to deliver their baby. However...some respondents get to choose from among 10 hospitals, some from among 100, and some from among 3, based on where they live. The full choice set of 57...
A perfect estimator would be accurate (unbiased) and precise (good estimation even with small samples). I never really thought of the question of precision but only the one of accuracy (as I did in Estimator of $\frac{\sigma^2}{\mu (1 - \mu)}$ when sampling without replacement for example). Are there cases where the u...
I have 4 different emails each with different subject lines. My goal is to determine if the difference in the open rate is due to random chance or subject line. My emails were sent out in parallel at the same time, to a randomized audience. I first tried to use ANOVA tests but quickly found out ANOVA is better used for...
I was reading this article (Kim and Cohen, 2010 [1]), and realized that the authors used chi-square test to test the significance of two-way ANOVA on page 541 (1st paragraph of "Results and Discussion" section), but used F-test for testing the significance of two-way ANOVA on page 543 (again, 1st paragraph of "Results ...
I want to compare means of the data of two human populations, group A has 12,400 (91.7%) subjects and group B has 1118 (8.3%). These are further subdivided to groups A1 (7598, 93.8%), B1 (499, 6.4%), and A2 (4802, 88.8%), B2 (619, 11.4%). Data are log normally distributed and I am using Mann-Whitney's test and generali...
I have been trying to manually calculate the slope of a line for large numbers. All the examples I have found demonstrate that manual calculation and SLOPE function in Excel give the same number. However, when I attempt this with large numbers I get different slope values. For example, if I use the example demonstrated...
This is a relatively straightforward question which I can't seem to find much help with. I ran across a question: Identify the support of the following variable: Y + 1, where Y is a Bernoulli distribution From my understanding of supports, it is the range of the outcomes where the probability is greater than 0. I know...
I am working on Quantile Regression (QR) and want to assess models using goodness of fit (GOF) measures. I have come across the post here, here that says, AIC/BIC can be calculated for QR model besides R squared as GOF. My questions are; Does estimation of QR coefficient involve Maximization of a Likelihood function...
I have survey data which contain respondents' answers to several questions. As the survey contained a disproportionate number of people from certain demographic groups, the survey results are weighted by race, sex and age. I have responses to the same questions for two years (eg. 2016 and 2017), and am trying to find ...
(UPDATE: I dived deeper into this and and posted the results here) The list of named statistical tests is huge. Many of the common tests rely on inference from simple linear models, e.g. a one-sample t-test is just y = β + ε which is tested against the null model y = μ + ε i.e. that β = μ where μ is some null value - t...
I am facing to a problem: I have tried to solve a binary classification problem and have a data set in which there are very many missing input values for its features. The training data looks like following; 0 X123474229,X51578397,X420128991,X174205309,X773579,X62718521,X773545,X51769735,X44092910,X41787959,X79805718...
I am trying to calculate the mean from two values, the 50th and 95th percentiles of a log normal distribution using R. Those values are 0.3 for the 50th percentile and 9.1 for the 95th percentile. Actually, I am trying to apply the method used in How to calculate a mean and standard deviation for a lognormal distribut...
I got a formula of correlation in the book but I know it is not the Pearson Correlation formula. What I found is $$r_{xy}=\frac{N\sum xy-(\sum x)(\sum y)}{[N\sum x^2-(\sum x)^2][N\sum y^2-(\sum y)^2]}$$ where N = number of sample, x is the first variable and y is the other variable. What I know with the Pearson corre...
I know the differences between training, validation and test data. Just to be clear "training data" is used to make multiple models with different hyperparameters "validation data" is used to choose one of these models "test data" is used to ascertain how well the chosen model is really doing or to quote "Ripley, B.D...
I'm new to mixture modeling and MPLUS, so apologies if this question is misguided. I am currently working through a dataset and learning off of Higher-Order Growth Curves and Mixture Modeling with MPlus. If when you run an unconditional latent class growth model in MPLUS and the variance of the slope and intercept is ...