instruction
stringlengths
9
38.7k
I have been working on LASSO for a while and then I realized that dealing with collinearity is really tricky for LASSO, due to the feature selection part. I have shifted my focus to Ridge, which seems to be most robust to collinearity. However, I am wondering if there is any other ways to improve ridge regression's rob...
I am using mixed effects model to study the effect of plant density on profit margins. This study was conducted at 25 different site-years with 2 replications at each site-year. I used lme() to construct mixed effects model with random intercept and random slopes and, then also used lmList() to construct similar kind ...
A fundamental property of random-effects regression is that the random intercept estimates are "shrunk" toward the overall mean of the response as a function of the relative variance of each estimate. $$\hat{U}_j = \rho_j \bar{y}_j + (1-\rho_j)\bar{y}$$ where $$\rho_j = \tau^2 / (\tau^2 + \sigma^2/n_j).$$ This is also ...
I am trying to analyse the effect of the gender of a CEO (women vs. men) on a performance measure of two types of firms (Conglomerate: i.e diversified firms, and Stand alone: i.e not diversified firms) for a period of a 22 years. I have panel data from 11200 firms and approximately 245,000 observations. I control for s...
I have labeled time windows of data from different sensors(gyroscope, accelerator, magnetometer). For all sensor data, the format is: (x,y,z,timestamp) For a classification purpose, how do I represent the sensor data? How exactly do I make meaningful feature extractions of the raw sensor data so it can be used for cl...
I have a dataset that looks at asylum rates for asylum-seekers (refugee status). The data is broken down by country of origin and the host state (where they apply for asylum. I have been reading up thoroughly on the types of missing data (e.g. MAR, MCAR, etc), but I'm terribly confused as it applies to my own data for ...
I have a response variable y ranging from 0 to 7. The data nicely show a S-shaped curve and I would like to fit a logistic growth model. The potentially explanatory variables are time t (continuous) and Condition C (categorical, 3 levels). The data are from a designed experiment, therefore I have the random effect bloc...
When we calculate the total contribution of a variable for a single dimension, the sum of all single contributions is equal to 100%, which makes perfect sense. The http://www.sthda.com suggests to calculate the total contribution of a variable for several dimensions multiplying single contributions to their eigenvalues...
What is the difference in using an ARIMA model with covariates ($X_i$) to estimate the shock of $X$ on time series $Y$ and using a Cumulative Abnormal Returns (CAR)? I have limited knowledge about CAR (or AR), but from here, the procedure seems to resemble one of taking a first difference -- but we are subtracting the ...
I'm a new to machine learning and data science in general but I'm eager to learn. I consequently apologize in advance for how this question will appear very basic and be completely out of contenxt. If it is the case, don't hesitate to stop me, I'll be happy to remove the question from this stackexchange. That being sa...
I came across this tutorial for Y-aware PCA using the vtreat R package. In short, Y-aware PCA is PCA on variables that have been scaled to be in y-units. Is it valid to scale categorical independent variables in y-units? All of my independent variables are dichotomous. It seems inconsistent to implement this y-scalin...
As we know, plotting residuals against fitted values may indicate whether the model is misspecified or the variance is not constant, or both. Let's focus on model misspecification only and set aside heteroskedasticity for the moment. For example, example (b) shows that residuals increase with fitted values. What kind...
I am confused on the application/calculation of BN statistics in hidden layers in deep nets. In general, any input can be normalized and the mean and variance statistics across the mini-batch can be computed at the first layer. This scaled input is then fed to the network. However, the outputs of deeper layer are in ge...
Can anyone provide an intuitive view on why it is better to have smaller beta? For LASSO I can understand that, there is a feature selection component here. Less features make the model simpler and therefore less likely to be over-fitting. However, for ridge, all the features (factors) are kept. Only the values are sma...
My data is many thousands of responses to ~2000 multiple-choice (2 to 4 options) questions. Most of the questions have not been answered by most people. ie. a typical question will have <5% response rate. I'm interested in finding out which questions have a high predictive power for which other questions. eg. People wh...
The ranks are: Rank Group 1: 13, 15.5, 18, 21.5, 9.5 Rank Group 2: 4.5, 11.5, 18, 20, 18, 6.5 Rank Group 3: 3, 21.5, 11.5, 9.5, 15.5, 14 Rank Group 4: 6.5, 8, 2, 4.5, 1 So the means of ranks are: 15.5, 13.0833, 12.5, and 4.4. The mean of the means is: 11.5. My instructor got 41.9286 for S^2(R), or the sample variance ...
Let $(\Omega, \mathcal F, \mathbb P)$ be the probability triple. Let $X: \Omega \times \Theta \to \mathcal X$ be a family of random variables, parametrized by $\theta \in \Theta$. In other words, $X(\cdot, \theta): \mathcal \Omega \to \mathcal X$ is a random variable. Similarly, let $Y: \Omega \times \Theta \to \mathca...
An Hidden Markov Model can be utilized to model a seq of face gestures(e.g., left eye-brow up, lip pull down, right eye closed) defining a facial gesture. I want to determine an objective to train a Hidden Markov Model such that it maximizes the likelihood of a set of sequences of facial gestures. Specifically, how do...
I know Zellner's prior is using data in order to set prior information, but actually the whole model depends on the data. Is there any other reason?
I am reading about differential privacy and would like to understand the implications of the different values of $\varepsilon$ in the definition below: $$\mathbb{P}[K(D_1) \in \mathcal{S}] \leqslant \exp(\varepsilon) \times \mathbb{P}[K(D_2) \in \mathcal{S}]$$ What would $0 < \varepsilon < 1$, $\varepsilon > 1$ , $\var...
I am interested in choosing $n$ variables from a list of $N$ discrete variables uniformly distributed in the range $[0,1]$. I would like these variables to be clustered together, so the probability of choosing a tuple is higher when they are closer together. I feel that the distribution $P(x_1,\ldots x_n) \sim \exp\big...
Today, I was going through results of a survey when a colleague asked me, what is the statistical significance of the population cohorts in this survey. I wanted to understand if anyone here could explain, what such a question as mentioned above would actually mean? I mean, it got me thinking and I was not able to refr...
I'm having trouble interpreting the results of comparing 4 sequences. All are fairly similar (in terms of mean) and I want to figure out if one can say that they that their difference in mean is statistically not significant. Even though they look normally distributed, I originally did not assume so. I compared sequenc...
Given that we have $x_1$,...,$x_n$ with dimensions $p * 1$ each, and $X_i$ ~ N(0,Σ), we form the diagonalised covariance matrix Σ such that the first K eigenvalues are unknown and the remaining $n-K$ eigenvalues are all 1s. We can take for example P = 50 , n = 100. $\frac{P}{n}$ → c > 0. P is the dimension and n is the...
I have a fairly large dataset 1460(n)x81(p). About 38 variables are numeric and rest are factors with levels ranging from 2-30. I am using dummy.data.frame from dummies package to encode the factor variables to run PCA. However, as I run the following code: train_dummy <- dummy.data.frame(train, sep = ".", verbose = ...
When we design a neural network, we use gradient descent to learn the parameters. Does this require the activation function to be differentiable?
First, let's assume we are in the context of a image classification using a CNN. I understand that different kernels are applied to the image (or in succession, depending on the depth of the network). Could you please confirm whether these kernels are updated through back-propagation and training? If so, would it not ...
I have a dataset with 4 features and 150 examples.(150*4 matrix). Now I am confused with two concepts here: What are random variables in this dataset? Are they each of the 4 individual features? ($X_1$,$X_2$,$X_3$,$X_4$) If I am sampling 50 examples from this dataset(50*4 matrix), what is meant by the sample mean?...
I want to fill in missing values in a dataset. I thought i would use regression but I'm unsure of it and of which regression to use as well. My dataset has many (10-20) features and most of them are highly correlated—but not linearly. For example there exist relations like $a=\frac{b^3c}{2}$ or $d=\frac{a^2c^3}{4\pi}$,...
If the two variables have the same variability, does that mean they are independent?
On a business task, I perform simple linear regression with an independent variable $X$ and a dependent variable $Y$. The result is a linear function with slope $β_1$. If $R^2$ (coefficient of determination) = 1, I conclude that an increase of 1 in $X$ will result in an increase of $β_1$ in $Y$. If $R^2$ = 0, I conclud...
I have got > 100 river daily flow time series and I need to select a threshold for each of them in order to perform a Peak Over Threshold extreme value analysis. I know that I can select a threshold manually with specific R packages but I would like to know if there exists an automatic method which will calculate for m...
Which is best and why between 2 models A and B where : Log likelihood of A < Log likelihood of B AICC of A > AICC of B Thanks for your replies
I'm trying to build a variogram model of the semi variance in Zn concentration with distance using gstat package in R. First I plot the variogram based on my data (it clearly seems to mean that the model type should be linear according to the plot): Zn.svar <- variogram(Zn ~ 1, datZn) plot(Zn.svar) Then I try to get ...
I'm using the following code to run a repeated measures 2x2 ANOVA after transforming my data using the art function from ARTool package for R using the following code: m <- art(response ~ Factor1*Factor2 + Error(Subjects/(Factor1*Factor2)), data=myData) and then anova(m) The art function performs alignment and ranking ...
Assume that I have a random sample $X_1,\dots,X_m$ from some distribution $F$, and I want to estimate the first two moments of $F$. Obviously, any sane person would use the sample moments, but I was wondering about the following situation: Instead of using the sample moments, I employ kernel density estimation, for ex...
I have a VARX model with 3 endogenous variables in 2nd differences. Each of 3 equations has very low $R^2$ (about 0,02), but the model gives good forecast (MAPEs are about 2%). Can I neglect low $R^2$ in this case? What is the usual practice of using $R^2$ in time series models? Does this metric really capture the accu...
In maximum likelihood estimation, I sometimes see the average likelihood function $\frac{1}{N}\mathcal{L}(\theta, x)$ used over the likelihood. Since maximum likelihood estimation optimises over the parameters $\theta$, I dont see the motivation for averaging, since it doesnt change the maximim of $\mathcal{L}(\theta, ...
I want to make a neural network that can satisfy the following conditions but the neural network would never get close to converging. It was a ReLu neural network with sigmoid on the output If X < 0.95 output 0 If X > 1.05 output 0 Else output 1 I made a neural network with multiple layers and provided it with the inp...
I have two groups of students who answered a question on the pre-survey about their savings behavior, i.e. choose one answer a/b/c/e/d/f: (a) Save the same amount each week, (b) Save varied amount each week, (c) Save only when have money, (d) Save only when want to buy something, (e) Do not save. One group of students ...
When performing a linear regression with a log-transformed dependent variable, one has to exponentiate the estimated coefficient of a predictor, subtract it by one and multiply it by 100 in order to get the estimated percentage point change of the dependent variable for a one unit increase in the predictor. In contrast...
I am estimating a regression like Yit = a +b1 Xit +b2 Zit +b3 Rit + e where i = 1 to 100 Now I get coefficient estimates for all 100 i, i.e. 100 values of b1, 100 values of b2 and so on. For reporting purposes I have calculated a cross-sectional average of b estimates, i.e to get one value of b1 and one vane of b2 and...
I have generated $n=1000$ samples according to a chi-squared distribution $\chi^2(k)$ using a fixed number of degrees of freedom $k=2$ with MATLAB (chi2rnd function). I just would like to estimate the number of degrees of freedom using maximum likelihood. When calculating the log-likelihood, one should ends up with the...
I want to use a model fitted on a simulation dataset to predict the outcomes in a new, real dataset. Basically, I try to predict attack outcomes (coded as "escape"or "body") based on the speed, body length (SVL), tail length, tail color contrast and escape strategy. Because the simulation dataset comes from repeated ga...
I did a Pearson correlation analysis of CO2 emission(in Kt) with around 360 variables and found out that the correlation between CO2 emission and agricultural machinery is around 0.95(which is the highest correlation i found) and the correlation between CO2 and urban population is 0.30. I find it difficult to believe t...
I would like to know which stage of the customer journey (my IV with 8 levels) is most important in predicting Net Promoter Score (my DV). I created k-1, or 7, dummy variables, with the base case/reference being one of the stages ("Use the service"). Below is my SPSS output of the multiple regression. What concerns me ...
I am carrying out a logistic regression analysis in entrepreneurship research, in which one of the main independent variables, "innovativeness", is a company trait based on two different questions ("product's/service's potential to change the market" and "product/service novelty"). As these two were internally consiste...
What I learned from the post Can I treat a counting response variable as a continuous variable and run OLS? is if the $\lambda$ is large, It is OK to run linear regression on count variable. My question this time is: Can we run linear regression and treat survival time as a continuous variable instead of survival anal...
I have a list of stores (3k) and products (300). I want to group the stores where their range of products is most similar. So store a has 50 products in its range, store b has 53 products of which 49 are also in store a so their range is almost identical. Store c also has 53 products but only 20 are in store a and 15...
I know that $X$ and $Y$ are independent as well as $Z$ and $W$. I am trying to find a formula for $\text{Cov}(XY,ZW)$. I started by writing it down as $$\begin{align}\text{Cov}(XY,ZW)&=E(XYZW)-E(XY)E(ZW)\\[2ex]&=E(XYZW)-E(X)E(Y)E(Z)E(W)\end{align}$$ and I am stuck. I am not sure if I can write $E(XYZW)$ as $E(XZ)E(YW)...
I am interested to see if there is any relationship between eye color and whether someone is a vegan or not. The data is as follows: Vegan Non vegan Blue 29 23 Green 15 32 Brown 3 9 I ran a Chi-squared test of association and the result is significant. Pearson's Chi-squared t...
I will be using Eviews and am looking to forecast volatility of stock index returns using ARCH/GARCH models. I've generated the logarithmic returns and done the unit root tests. I then proceeded to plot the ACF and PAC functions of returns and squared returns to get an indication of the lags to include in my mean equat...
Suppose I design an experiment. I can choose between two types of outcomes: (i) continious outcome $Y$, which is restricted to the interval $0\leq Y \leq 1$ (ii) quasi-continious outcome $Y$, which takes the values: $0.1, 0.2,...,1$ Which one should I choose given that I want to maximize statistical power of the follow...
I'm not sure the best way to word this question, so excuse my ignorance. I'm working with some data that I am expecting to contain around three or four peaks or troughs: I am pleased to note that the data appear to contain the wiggle I expected, which I have roughly superposed (hand-drawn) here: I am able to make som...
When building linear regression problem, we assume that we have a noise or erros in the target variables that we measured. I have two questions about that If I want to build a machine learning model. I think that we mustn't care about the errors in the data. Because simply, it is not my problem. This is the problem of...
I am trying to learn machine learning and as a novice in the field of statistics, I am having a hard time while trying to read pattern recognition and machine learning by Bishop. I have already watched Andrew Ng's course on machine learning but now I want to get a mathematical point of view . My problem is that I don'...
I have two financial time series, which are showing the same behavior. Frequency and time frame is the same. I want to prove that they are correlated / prove their co-movement. Is Pearson correlation a good idea? Or are their other ideas? Any help will greatly be appreciated!
Apologies for my limited knowledge of Random Variables. I am working on a problem which requires me to generate a correlation matrix with the absolute pairwise Pearson correlation should be close to 0.4 (off diagonal elements of the correlation matrix). To clarify further let me provide a concrete example. I am follow...
In our group we are dealing with misplacement of items and we came out with a method derived from knn, but we are not sure if there is already some place where this was described. The method would be this one: Let us imagine the situation where we have a group of items with different classes, lets say "red", "blue" and...
I am having 20 features with both discrete values and continuous values attributes. I am trying to compare the performance of random forest and oblique random forest. ORF usually performs better than RF but in our case RF is performing better than ORF. Any clarification and suggestion would be greatly appreciated. We u...
I'm building a clustering algorithm and was trying to determine the best way to get separate and accurate clusters. I have 300+ features to cluster on, and they are all percentages between 0 and 1. The columns are products and the rows are customers. The matrix values represent the percentage of a given customers "wall...
I have an R script that is estimating the concentration parameters (kappa) for Von Mises mixtures. This script is giving me values of kappa that are 60, 100 e.c.t. I was expecting kappa to be less than 10. What is the maximum value of kappa for Von Mises mixtures?
I am trying to figure out the probabilities for a branching process at an n'th step. If i know, $P(X_2 = a | X_1 = b)$ and $P(X_1 = b | X_0 = c)$ $\forall b$ and the offspring distribution how do I obtain $P(X_2 = a | X_0 = c)$ ? A quick reminder would be appreciated!
I have been reading through a couple of papers on the variational autoencoder model: 'Variational Lossy Autoencoder' and 'Improving Variational Inference With Inverse Autoregressive Flow'. There is one (perhaps very obvious) thing that is confusing me - the former paper mentions the 'free bits' technique for training, ...
In typical ridge regression or (lasso in a more general sense). We have a regularization term after the MSE error term $cost = \sum{(y_{i} - \beta x_{i})^{2}} + \lambda\sum{|\beta|^{2}}$ However, I believe in most engineering cases, there could be a-priori knowledge about the $\beta$. For instance, house price should ...
Abstractly speaking, are the methods of regression and analysis of variance in normal linear models, along with hypothesis tests and confidence intervals, etc., "rotation-invariant"? In particular, when doing compositional data analysis, it is often said that the 'alr'-transformation is no good since it's not an isomet...
Context: I am interested in understanding how to analyze data from clinical trials with a natural history control, meaning, a clinical trial where a group of people (say, those with genetic risk for a disease) are recruited, all of them are treated with a drug, and their survival (say, age at disease onset, or death du...
I'm trying to communicate, in lay terms, how rare a 10, 11, 12 etc. standard deviation move is assuming a normal distribution. I'd like to say something like, "a 10 standard deviation move is like randomly firing a gun and hitting the moon." Is there a nice table of such events than can be used for an illustrative di...
I am trying to understand how the linear mixed models output from the lmer function maps to the statistical notation for these models. Lets assume to have a categorical (with 3 levels) fixed effect, a continuous fixed effects, the interaction between them and a random effect for the individual. This is the equation i a...
I recently read a paper where the authors used either (a) a generalised linear model or (b) a combination of Wilcoxon rank sum tests and Spearman’s rank correlation, depending on whether the data followed a normal distribution or not. They also used a Bonferroni correction when applicable, to account for multiple compa...
I am new to data analytics having only started exploring the field this week. I have downloaded KNIME and am working with a single dataset to try out different classification algorithms. I am currently trying out the decision tree algorithm and would like to include cross validation. Currently I partition the dataset 5...
If $X$ is full rank, the inverse of $X^TX$ exists and we get the least squares estimate: $$\hat\beta = (X^TX)^{-1}XY$$ and $$\operatorname{Var}(\hat\beta) = \sigma^2(X^TX)^{-1}$$ How can we intuitively explain $(X^TX)^{-1}$ in the variance formula? The technique of derivation is clear to me.
I am measuring a self-efficacy (SE) score by measuring 7 sub-scales for pre and post intervention.For example, for a participant, I have the SE score by measuring 7 sub-scales before the intervention, and I measure the same 7 sub-scale after the intervention. My question is, for calculating the Cronbach's alpha as a st...
I have constructed a linear regression model in R using the lm function. I was hoping someone could explain to me why when I run my full model I get an overestimate of the categorical variables. For instance, the intercept - I understand that this means the Biomass when all continuous variables = 0 but also when it i...
I frequently work with extremely unbalanced data where I care most about the edge cases. For example, right now, I'm looking at some data with almost 30,000 cases where Score is between 0 and .3 and 5,000 where Score ranges from .05 - over 8. If my data was normally distributed (or even close), I'd run a histogram to g...
I have the following timeseries of the electrical current consumption of a CNC milling machine. My goal is to determine any breakpoints within the signal automatically, since I want to predict diffferent operating states in other timeseries similar to the depicted one. Of course I could do it manually, but in future t...
I have fit a proportional odds model with an ordinal response using Harrell's rms package. Now I want to measure the quality of prediction by computing Somers' D (or a generalized AUC) for this model. I have seen that the rms package has the validate() function to do this, but it operates by resampling. I have out-of-s...
I am employing a propensity score matching to get the treatment group and the control group balanced. I employ the inverse probability weights times some sampling weights (I am using a survey, hence I need to account for non-reponse bias). Then I estimate the effect weighting the outcome regression with these special w...
I have some one-group pre-post data where the outcome is a score and an IV of interest is the whether or not the subject has performed the task in the past. I am looking at this in a few ways and am wondering which one is correct: 1) GLM where outcome is the change and the IV is the past exposure. 2) GLM where outcome...
I've got a dataset of entries that belong to groups A or B. Each row has only one variable, either 1 or 0, which stand for conversion rate. I need to calculate the correlation with a significance level between conversion rate between groups A and B. Dataset: group conversion <chr> <int> 1 A 0 2...
My goal is match each of the invoices created to each payment made. So for example, if I have a set of invoices: InvoiceDate InvoiceCategory 02/21/2016 Amazon 08/17/2016 BestBuy 08/17/2016 Amazon 08/21/2016 BestBuy Let's say each of those rows are matched respectively with each row here: PaymentDate PaymentCatego...
I would like to derive the variance of the following variables: $Y_1 \sim Z \cdot \exp(W-1)$ $Y_2 \sim Z \cdot \exp(-0.5W-0.25)$ where $W$ and $Z$ are independent $N(0,1)$ variables. From the functional form, I guess that the results of the log-normal distribution can be used. But I don't know how to...
I am confused how to extract a reduced set of explanatory variables and their coefficients in one step when using stepAIC multiple regression. It looks as we need to fit a model first (step 1), then manually select significant variables (*, ** and ***) and fit the model with reduced variables the 2nd time (step 2). In ...
This is an extension of the question on Variablity in cv.glmnet results. I've recently been running cross validation to find the best shrinkage parameter($\lambda$). I was aware of the variability in cv.glmnet because it shuffles the training and validation data every time it gets called. So I called cv.glmnet multip...
I am trying to find a set of good predictors using carets GA in R to train a few classification models. My dataset consists of around 4500 rows of 96 independent variables. I want to use GA to, ideally, reduce my predictors down to between 15 and 25. require(doParallel) cl<-makeCluster(detectCores()-1) registerD...
I tried to process the daily return data for Shanghai Stock Index in RStudio. I use ARMA to model my data.Below is the ACF and PACF figure from R. How should I choose the order for my data according to these figures? I have tried several combinations but every time the result of JB test for the residuals show that ther...
Under what conditions does off-policy SARSA with importance sampling converge? I know function approximation can cause problems. In the tabular case, what is needed to get convergence (to the true Q)? I am getting exploding Q-values ATM, but I'm not decaying the exploration or learning rate, and I'm using n-step backup...
When do you use which test and which test is best for isolating the differences in multiple comparisons?
Like, I don't get it. In regression, we say $$Y_i = a + bX_i + \epsilon$$ where $X_i$ is just a real number for each observation $i$, and in analysis of variance with two groups, we say $$Y_i = a + bX_i + \epsilon$$ where $X_i$ is again just a real number, but this time either 0 (group 1) or 1 (group 2), so a is mean ...
An $L_1$ norm is unique (at least partly) because $p=1$ is at the boundary between non-convex and convex. An $L_1$ norm is the 'most sparse' convex norm (right?). I understand that the $p=2$ Euclidean norm has roots in geometry and it has a clear interpretation when dimensions have the same units. But I don't understan...
I am trying to follow along with a scientific journal. I am not used to running simulations so I could use a little help in R. Here is the simulation from the paper. For each experiment, we generate a training, validation, and testing set of N = 5000 observations, such that an observation represents a patient vect...
Let's say we have two independent 1-dimensional random variables $X$ and $Y$ and we want to estimate $\mathbb{P}(Y>X)$. Say we take a sample of size $N$ of $X$ and a sample of $Y$ of size $M$. Is the following approach reasonable? I draw 100 bootstrap samples of $X$. I take the mean of each bootstrap sample to build ...
I came across this study, Case-control study of stroke and the quality of hypertension control in north west England. In this study I find numerous odds ratio. As far as I understand, all the Case are eventful (with stroke) because they recruited them from a stroke registry already; while the Control are people with si...
I am studying Machine Learning Probability perspective and I have a question with Algorithm 8.2, which is $\mathbf{w} = 0_{D}$ $w_{0} = \log (\bar{y}/(1-\bar{y}))$ Repeat:     $\eta_{i} = w_{0}+\mathbf{w}^{T} \mathbf{x}_{i}$     $\mu_{i} = \text{sigm}(\eta_{i})$     $s_{i} = \mu_{i}(1-\mu_{i})$    ...
I don't really understand if SVM are classification methods (like Logistic regression) or clustering methods. Since it's used for supervised learning, it should be part of classification methods right ? Or can SVM also be used for unsupervised learning, and would then also be part of clusering methods ?
How can I generate a stationary Gaussian Random sequence/series that have the given autocorrelation? I have found that Autoregressive model can do the job but How to decide the order and coefficient of the AR model?
Say we have the following sample and we are trying to estimate the variance of the sample mean of the population. X = [0, -1, 2, 10, -3] If I take an increasing number of bootstrap (e.g. 100, 1000, 10,000, 100,0000), the bootstrap distribution of the sample mean gets narrower and narrower. In other words, I can make t...
I'd be really grateful for some advice here. I apologise if this question is rather elementary, but I'm not proficient at multilevel modeling (yet). My question relates to a research problem in corpus linguistics. I’m looking at how frequently certain types of metaphor are used to describe musical properties in review...
I'm currently training on a simple dataset: Training: [0,1,2,3,4,5...250] Test: [251-500] My training cost and expected output decreases and seems correct. However, when I test the model, my network doesn't seem to be able to predict sequences higher than 250. Is there an issue with my model, perhaps not deep enough? ...
I want to construct a multivariate model to find outliers in the data. The data I have is similar to the iris data (without the Species data attribute, I only have the first 4 attributes) > head(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Species 1 5.1 3.5 1.4 0.2 setosa...