instruction
stringlengths
9
38.7k
So I'm given that $x, y$ are distributed as: $ P(\alpha) = \begin{cases} 1 & 0 \leq \alpha \leq 1 \\ 0 & otherwise \end{cases} $ First I needed to calculate $P_{S}(s)$ where $S = X + Y$, which came out to be (using convolution): $ P_{s}(s) = \begin{cases} s & 0 \leq s \leq 1 \\ 2 - s & 1 \lt s \...
Hi I have a question concerning R, statistics, regression and Summary(lm(....)) When using R and the summary(lm(..)) function I get an output like that: I pretty much know what each of the numbers means but it is not clear for me what the estimate and std Error are calculated from. When I plot a plot like that I have...
I'm analyzing employee performance at a call-center. I'd like indicate whether a particular employee's conversion (success) rate is significantly different from the average/expected conversion rate. Some factors for consideration: there is a wide range of events for each employee. i.e. some employees have only taken 2...
I have implemented the dickey duller test without using libraries or tools to understand how exactly the working is. My dataset is airline dataset and have tried using the same in excel to plot and view the stationarity of the dataset. After log transformations and differencing followed, the data became stationary as e...
Consider the following multiple regression analysis: Step 1: enter control variables, which explain a significant 25% of the variance in the DV Step 2: enter variable of interest, which explains an additional ($R^2$-change) significant 7% of the variance in the DV. How do I interpret the the $R^2$-change effect size? ...
CLT states that the standard deviation of the error falls as 1/sqrt(N), where N is the number of trials. Why does this imply that the convergence is quadratic? In particular, I am confused about this passage from Sutton & Barto's Reinforcement Learning book:
My model is ARIMA(0,1,1).And diagnostics are ok.but cant get clear values for the forecasting in r.
I have read some notes and comments on different websites . It seems that a refererence to p-value could mean that it equals the alpha term used frequently in basic statistics.
I am going through the Descriptive Statistics class on Udacity. One of the in class problems discussed is as follows: Retain or reject the following null hypothesis: H_null : pop. mean doesn't change significantly following an intervention. ie mu = mu_int H_alt: pop. mean (mu) changes after an intervention. ie mu =/= ...
I trained a resnet101 model using 900 samples / class (50 classes in total ), and chose the best model based on best accuracy using a separate validation set of 100 samples / class, throughout the whole training train/val accuracies were very close, which mean i am not over-fitting the train dataset(?), but the accurac...
I am trying to understand the linked paper at ICSE 2008 (Namin et al. 2008). To provide an overview: A mutant is a variant program generated from a software program that has two distinct results -- killed or alive. The mutation score or adequacy ratio ($AM$) is the ratio between the number of mutants killed and the tot...
I am developing a classifier that can classify certain bags based on their picture. Testing it out in the real world, I realize that a lot of the time it gets passed examples that are not in the set of class labels. How would I mark these as anomalies rather than just misclassifying them as something within the set of ...
My data contains no trend or seasonality, but contains noise. While I use ARIMA to forecast it, the model is (1,0,0). In addition to this if I use dayOfWeek and a promotion predictor I get a forecast with a sequence repeating itself. I don't trust this forecast. Is there a better model for forecasting my data? Below is...
I am now studying complete sufficient statistic. My question is: Is there any relationship between the existence of complete sufficient statistic and the existence of unbiased estimator? I know that by Lehmann-Scheffe Theorem, if an unbiased estimator of $\theta$(parameter) exists as a function of a complete sufficient...
Given a matrix of observations (rows) x variables (columns), can we compute the correlation matrix of the rows, but corrected by the correlation matrix of the columns? The goal would be to avoid inflation in the correlation p values, since the t-test for Pearson correlation assumes that the columns/variables are uncor...
Is there any difference between EDA, Descriptive Statistics, and Visual Analytics?
Forecasting a numeric time-series is providing an estimator $\hat y(t+1)$ of $y(t+1)$ computed from $(y(1),y(2)...y(t))$. You want it to be close to $y(t+1)$ (say in terms of squared distance). Now instead of just a numeric value, assume $Y(t)$ is a full dataset with several categorical features. It can be seen as a ba...
As proved by Zou (2006), the adaptive LASSO enjoys the Oracle Property in the sense that it does variable selection as if it knew the true (sparse) model. However, in the early days, the standard hypothesis testing in e.g. OLS should also point in the direction of which variables to leave out in the model due to insign...
Based on the above diagram: My alpha for the independent variable is above 0.7 My Alpha is negative for the dependent variable. (I tried reversing items with negative words and the option of if item deleted without success). Despite that my N is over 900, I have no correlation between both variables, and I have ...
I have a model (which I would initialize with "best guess" parameters) which produces a real-valued output (which I need to be real-valued - I can't switch to a different representation), but for which I can only obtain binary (good / bad) feedback from human evaluation. It's very easy for a human to tell if the output...
I have a lottery machine with 100 balls inside. Each trial, I draw 7 of the balls and record their numbers. How do I determine if the results are biased or not?
I have 3 different techniques for measuring an effect, which is my independent variable. The value produced by each technique is different. Thus I want to find out which one of these 3 techniques is the strongest predictor of my dependent variable. Can I use multiple linear regression to find this out? If so, what doe...
my problem is the following. I am measuring relative fluxs over time, so a relative light curve. Relative here means that I am measuring the flux relative to the median, i.e. the median deviation. I know that the absolute flux distribution should be approximated by a log normal distribution. I therefor computed absolu...
I am working on bag of words technique for image recognition project and after I run k means I get a distance matrix and I have no idea how to apply that to svm to recognize images ?
Prior to copula fitting, we must identify the dependency between two variable. What are the purpose of calculating the dependency? Some research said dependency value for example Kendall Tau value will use to estimate the copula parameter. My supervisor said based on the Kendall Tau value we can decide which copula is ...
I'm attending a course in mathematical statistics and it seems the lecturer tacitly assumes that given estimators $T_1,T_2 : \Omega \to \Lambda$ of a parameter $g : \Theta \to \Lambda$, a loss function $L : \Lambda^2 \to [0\,..\infty)$ and its associated risk $R$ if $T_1$ are equivalent $T_2$ in terms of risk, then the...
The current Wikipedia definition is The distribution of a random variable $X$ with distribution function $F$ is said to have a heavy (right) tail if the moment generating function of $F,$ $MF(t),$ is infinite for all $t > 0,$ i.e. $$\int_{-\infty}^\infty e^{tx}dF(x)=\infty, \forall \;t>0.$$ This is consistent with th...
How do I implement nested K-fold cross-validation when it comes to k-Nearest Neighbours? Let's say I built a kNN classifier, and used K-Fold CV to tune the hyper-parameter. Now, how do I use nested K-Fold CV? I have read multiple articles, but they don't explain it well enough (esp. in the case of kNN). From my underst...
I have a large number of observations of the form: i1, i2...in -> output I "trained" a random forest using two thirds of the data and verified the predictions made using the random forest on the last third. The "fit" is good and the predictions are of very high quality. Now, I would like to figure out which arrangement...
Here is a question related to IRF, impulse response functions, in the vars package. My data has following attributes: I do have two log-transformed variables that are tested as I(1). I.e. the two variables are stationary after first differencing and not stationary at level, allowing for "constant and trend". The I(1) v...
I would like to modulate the probability of firing of a point process by an external signal $x_{ext}(t) $, of varying amplitude and a specific frequency range (filtered Gaussian noise). The mean rate $r$ of the point process is determined by another input. I am currently multiplying the probability of firing by the ext...
Assuming, I have constructed a simple linear regression model (Time Series) with a dependent and two independent variables. Measuring the effect concerning the value of the dependent variable is pretty straight forward. Now, I am wondering wether there is a method of estimating the effect of each independent variable i...
I have two sets of hypotheses in a multivariate setting that are said to be equivalent. I am wondering if someone can explain why they are as opposed to me just taking it to be true. Version 1: $H_0: \boldsymbol{\mu_1=...=\mu_K}$, where $\boldsymbol{\mu_i}$ are $p*1$ vectors. Version 2: $H_0: C\boldsymbol{\mu}=\boldsy...
I am analyzing the paired samples. Patients with drug at time point 0, at time point 12 weeks, time point 24 weeks. I would like to see the significant differences in the patients over the time points. In other words I would like to see how effective the drug is? One problem here is I have 10 samples at zero time poi...
I have set up a neural network which has a single output with a sigmoid activation function, which I understand by default is used as a binary classifier where values over 0.5 should belong to class 1 else class 0. After looking at the results of training, it would be a better balance of precision/recall for my task if...
I'm trying to understand the steps behind linear discriminant analysis (LDA) in a simple way, but I'm confused on how a few of them connect. Here is what I've got: Break the data apart into groups by class (ex: class1, class2) Calculate the means, covariance matrices, and class probabilities for each group Using the a...
Given the decision that on a scatter plot the data points will be connected (just as an example, let's say we're talking about students attending class per week), is it more correct to connect the scatter plot with straight lines versus rounded lines (a monotone interpolation). My question is primarily whether the mon...
I'm struggling with the interpretation of some data. A quick overview of my study. I have data from 48 different US Universities on the amount of substance use-related activity discussed on anonymous social media (coded SUDS_count). I would like to do some linear modeling to see how much Region, Locale, Control, and Si...
When I have a multivariable linear regression model for sample element $i$: $$y_i=\beta_1x_{1,i}+...+\beta_kx_{k,i}+\epsilon_i,$$ then the OLS estimator is determined by the following equation: $$X^Ty=X^T X \beta.$$ Why can't we simply cancel out the $X^T$ on both sides? And what if we coincidentally have that sample s...
I would like to test the effect of anxiety (binary measure) on alcohol consumption (in four categories). I have anxiety data only at baseline and alcohol data several times during follow-up, but with unevenly spaced measurement times (and not the same number of follow-ups for each subject). 1) Conceptually, I understoo...
I am currently exploring two regression methods using kernels, namely Kernel Ridge Regression (KRR) and Support Vector Regression (SVR). I tune their parameters using a randomized grid search. Using a polynomial kernel, KRR outperforms SVR, but when I use an rbf kernel it is the other way around. What might be an int...
My question is not about the definition of the two rank correlation methods, but it is a more practical question: I have two variables, X and Y, and I calculate the rank correlation coefficient with the two approaches. With the Kendall-tau-b (which accounts for ties) I get tau = 0 and p-value = 1; with Spearman I get r...
Background I have a sample of customers, that I asked whether they had experience with different communication channels of a company (e.g. twitter, online shop, physical store, etc.). For each communication channel they experienced I asked them to evaluate how satsified they were with their experience. Finally I asked ...
I would like to know which are the most commons methods for measuring correlation with dichotomous/categorical variables. I often use Chi-square, but I have seen that some people use Pearson correlation, is it correct use this last method with categorical data?
Does this expression hold? $$\max_{x\in X}E[Y\mid X=x] = \max_{P_X}\sum_{x\in X} P_X(x)E[Y\mid X=x]$$ Left side says: max over all available $x$ for the expected value of $Y$ given $X=x$. Right side says: maximize over probabilities distribution of $X$ I can't seem to figure it out. I think that ifyou wan't to max ove...
I have a linear model $y=\beta*x+\epsilon$. However, the error term is modeled as an AR term, where $\epsilon(t)=p*\epsilon(t-1)+w(t)$, $w(t)$ is white noise. Y and X are both time series economic variables. ADF test shows that both x and y are non-stationary. Johansen test cannot reject the null there are cointegratio...
Can anyone explain what is blending in of boosting models and how to combine two models.? How it increases accuracy of model. Any resources are appreciated. And also, its implementation in Python?
In the frequentist paradigm, regression analysis in its most general form is given by: $$y_i=E(y_i|X)+\epsilon_i$$ Where $E$ is the conditional expectation on $X$ and $X$ is some set of variables. As far as I understand, this formula is essentially based on the fact that if we have a relation $$y_i=h(X)+\epsilon$$ the...
I ran the Ljung-Box for a single series and find that the statistic is very high. I am using 20 lags so the critical value is 31.4104 and the statistic is greater than that. So my conclusion is that the data is not independently distributed. I also test the squared residuals for the same series. Again I have high valu...
What I'd like to calculate: I'm using glmer (lme4) with a poisson distribution to estimate a bird's total population across a large region (i.e. sum predictions). I'd like to obtain confidence intervals for the total population estimate...or some metric that represents uncertainty. Question: Would it be inappropriate ...
I see there are some methods of generating 'confidence interval' plots for some types of regression that are pinched in one or more places and the CI width seems to be zero. Can that be right (for finite data sets my expectation is that a CI width is always non zero)? For example, here's one for hazard ratios from this...
I am fairly new to statistics, so please forgive me for using probably the wrong vocabulary. I have a dataset of locations with measurements of soil carbon SOC1mTHA. I want to study the predictors that best explain SOC1mTHA, among 15 potential predictors. I have used the glmulti package, and finally concluded that bas...
I managed to reduce a problem in my research to the following: Suppose that we have a population of cells which starts with a single cell that has zero mutations, and at each time step each cell divides in two. After each division, one of the daughter cells can gain a mutation with probability $\mu$, and lose a mutatio...
This is probably relatively trivial, but I am having a difficult time searching for what I want. I have a set of measurements with a well-defined variance, and I'm performing a weighted least squares calculation to get a line of best fit. The slope of this line is an experimental observable, so getting a well-defined v...
I have a lot of books on measure theoretic probability theory, functional analysis, graduate level topology, convex optimization, stochastic calculus, numerical analysis using a functional analysis framework, statistical theory, Bayesian Analysis, decision theory, elements of statistical learning, abstract algebra, adv...
I have (x,y) data divided into five datasets: $D_1, D_2, \dots D_5$. The first dataset was generated randomly. Subsequent datasets were recursively generated by transforming the last dataset via a complicated transformation, so that $D_2$ was generated from $D_1$, $D_3$ from $D_2$, etc. I want to evaluate the claim tha...
So, just to start... I've just learned of orthogonal polynomial regression today. I've gone through the master's-level linear models courses, and we did not cover that topic. I was always under the assumption that, especially for polynomial regression, that $\mathbf{X}^{T}\mathbf{X}$ is invertible most of the time, and...
I am new to R and have basic stats understanding. Please excuse me if my questions are basic in nature. I am learning and having these questions and your answers would help me in updating my knowledge. I have a data with around a million rows and hence using data.table. I want to have intervals defined for my continuou...
Being my dependent variable (0 = firm innovates incremental, 1 = company innovates radical), positive values of beta means greater effect on the propensity of firm innovates radically. My question: what does negative coefficient estimates values mean? Increasing the propensity of the company to innovate incrementally? ...
Let's say I have measures of a response and covariate from each of several populations. Each population has its own mean for $y_i$ and slope for the $y_i \sim x_i $ relationship. The model looks like this: $$y_{i,j} = \alpha_j + \beta_j \times x_{i,j} + \epsilon_{i,j}$$ $$ \alpha_j\sim N(\mu_\alpha,\sigma^2_\alpha) $...
Given the following data: library("fifer") homicidiostaxa0515 = c(26.1 26.6 26.7 27.2 27.8 27.4 29.4 28.6 29.8) #BR's homicide rate 2005-14 popcartaxa0515 = c(196.2 214.8 229.6 247.3 260.2 267.5 283.5 289.3 299.7) #BR's inmate rate 2005-14 I ran Spearman's correlation test on them and the result is as following: data:...
I am reading a paper, which defines two estimators of the Fisher information. The first is the well-known negative hessian of the log-likelihood at the ML estimate, the second is $$ \sum_{t=1}^T \frac{\partial}{\partial\boldsymbol\theta} l_t(\hat{\boldsymbol\theta}_T, \boldsymbol y_t) \frac{\partial}{\partial\boldsymbo...
I would like to produce a visualization representing all these propositions: The only idea which came to mind was a Venn diagram. Is it the proper approach? If yes which package (R or Python) would you recommend? If it's not, which approach would you recommend?
I am reading Sham & Purcell (2014). I need a clarification on how true effect size is represented in their box 1: ... while the investigator sets the probability of type 1 error ($\alpha$) to a desired level, the probability of type 2 error ($\beta$) and therefore statistical power are subject to factors outside the ...
Following up on my answer here, I am wondering What is the reasoning for initialize expression of the family objects in glm in R (see ?family). glm fits generalized linear models and the initialize argument is a way to provide initial estimates of the parameters to get an iterative solution started. Is it "good" wa...
Hi everyone: I'm hoping for help analyzing nested data in R. I measured the mass of chicks at 3 time points; chicks were in one of two treatments (P and W) and in one of two environmental conditions (Wet or Dry). I have measurements from multiple chicks per (literal) nest. Here's what the data look like: chick nest...
I have found some mixed messages in terms of the effective sample size to shoot for (ranging from 2,000 to 10,000) here. I'm wondering if anyone could give me more information on choosing a guideline for effective sample size? In particular, I am using a No-U-Turn Sampler.
I am looking some technique that help us to test the stability of t-SNE for different times running.
Lets say we have a dataset with hundreds of features. Since I'm not really sure whether all these features are good identifiers or not, I think we might need use one or all of the following techniques in the preprocessing step (before feed the data into a classifier): Use VIF to test and drop those multi-collinear ...
I conducted an experiment in an evolutionary program called AVIDA-ED contrasting the adaptive evolution in different world sizes (30x30,40x40,50x50). I performed 10 repetitions of each world size and recorded 4 variables being: Organisms (# organisms in world),Viable (how many organisms are viable), Fitness (average fi...
I am having some trouble with a textbook problem. I am given that $U_1, ... U_n$ are independent random variables with uniform distribution over $[0,1]$ and that $U_{(n)}$ is the maximum. I have to show that the CDF of the standardized $U_{(n)}$ approaches a limiting value. I know that the CDF of $U_{(n)}$ is $F(U)=(u...
Let $W_t$ be a Brownian motion, so $W_t=z_t \sqrt{t}$ where $z_t \in N(0,1)$ and the pdf of $z$ is $f(z)=\frac{e^{-\frac{z^2}{2}}}{\sqrt{2\pi}}$. So $$E(W_t)=\int_{-\infty}^{\infty} W_t f(z) dz =\int_{-\infty}^{\infty} z \sqrt{t} \frac{e^{-\frac{z^2}{2}}}{\sqrt{2\pi}} dz =\int_{0}^{\infty} (z+(-z)) \sqrt{t} \frac{e^{...
I have a multi-variate time series which represent the heading (-2*PI - +2*PI) of a set of virtual agents over time. What I would like to have is some form of correlation function which describes the relationship among the variation of heading of agents over time, so that given another multi-variate time series of ano...
I've been reading up on machine leaning and keep seeing data sets split up into a training, test, & validation set. Here's what I think the differences are based on what I've read: training set => choosing the features that you think are most important in predicting your label test set => splitting your data into tr...
I want to evaluate whether a coefficient from a CLM model is different from a value other than 0. I'd like $p$-values, so computing confidence intervals doesn't get me want I want. I'm using clm from the ordinal package in R. One option I've thought of is to use the standard errors returned by clm in a Wald test; so f...
I have results from a simple experiment where organisms on a plate are exposed to one of 4 concentrations and the lowest concentration is the control. I have coded the concentrations as a factor. There are 25 organisms on a plate and the number that died is counted. The organisms are nested on a plate but if I analyz...
This may seem like a silly question, but I can't figure out (or find anywhere) why it's not possible to calculate interaction with a 2-way ANOVA without replication? Has it something to do with the d.f for the interaction terms being zero?
I'm learning applied linear regression right now and of course one important topic is constant variance of errors. In Sheather's textbook, it's said that Ignoring nonconstant variance when it exists invalidates all inferential tools (i.e. p-values, confidence intervals, prediction intervals etc.). But he doesn't exp...
I have been having a bit of a personal fight with fully understanding the bolzmann machine. It is especially the sampling phases that I cannot wrap my head around, as well as the probability distributions. So the overall way I have understood it so far is: Positive phase: clamp sample from input to visible units (un...
Might be a beginner question, but if we have a generalized linear model and we want to do inference. Many textbooks (including MASS) talks about deviance and asymptotic distribution of deviance. But a natural question is that, since we never have sample size of infinity, how reliable are those asymptotics result? Even ...
In Sheather's book, it states that The Box-Cox procedure aims to find a transformation that makes the transformed variable close to normally distributed. To be specific: Also, when x and y are normally distributed, the maximum likelihood estimates of $\beta_0$ and $\beta_1$ are the same as the least squares estima...
When I read Related Work part in the paper Layer Normalization, it just analyses its invariance properties and compares it with those of others normalization methods, like batch normalization. But this paper does not talk how this property effect the entire neural networks, like CNN or RNN, specifically. Can you tell m...
Let's say I have a set P of positive examples and a set N of negative examples. Prior to feeding this dataset to a SVM for training, should I remove duplicates in those sets? Intuitively, I don't think that showing several times the same example adds much information. While I understand it could change the weight attac...
I have collected linguistic data from one participant over seven months (one text a month) to explore lexical and syntactic development in second language writing. Her written samples were coded for type-token ratio (TTR) and dependent clause per clauses ratio (DC/C). TTR: (0.652, 0.579, 0.616, 0.521, 0.58, 0.758, 0.71...
I've got a simple computational model I can run experiments with. Experiments are "free" but I don't want to run it more times than necessary because it still takes time. All the simulation use the same parameters except for one condition which I vary and can take 4 different values (categorical condition). I know how ...
Is it possible to manually add weight to a specific feature in Machine Learning? I have 51 features: 1 of the 51 features should have the same weight as the other 50 features. This is because one feature is an animal name (7 different animals types) (text), the 50 other features describe statistics (mean, sd, skewness ...
I have two equally long time series samples, drawn from two different populations, I would like to test if the means of the two samples are statistically different given population size differences, one population is much larger than the other. Can you suggest an appropriate test to do this? The data is measuring the a...
I have (imbalanced class) classification problem on my hand. Major class proportion being 92.7%. I have tried with most of the training data manipulation techniques, such as Oversampling, under-sampling (both with SMOTE as well). And I have tried with almost all the classifiers available at my disposal. E.g.: Logistic...
Having $ \hat\theta= \frac{1}{N}\sum_{n=1}^{N} D_n $, with $ D_1 ... D_N $ independent random variables, which would be the solution of $ E[{\hat\theta}^2] $? Would it be just $\frac{1}{N^2}\sum_{n=1}^{N}E[{D_n}^2] $ ? And if so, knowing that $ E[\hat\theta] = \theta $, and therefore $ E[D_n] = \theta $, would the...
Why is k-means not considered a good option to use for time series data? I have read answers saying it is not a good option, but none that describe why. Let's say we have a time series data of a shop just for one day. On the x-axis, we have a range of 24 hours. On the y-axis the number of sold shirts. Let's make the da...
I was asked by a (pissed off) friend which is the probability of guessing right 174 out of 175 true/false questions in 45 minutes, since he suspect that the person who achieved this was somehow cheating. Aside the context itself, I thought it is a nice probability exercise. What informations do I need to compute such p...
I am running an experiment where the target variable is a binary category. I have tried various algorithms, from XGBoost through to multi-layer networks in Keras. In the case of my neural network, I use a variety on the adam learner, with binary_crossentropy as my loss. Due to the nature of the problem, it is challeng...
I'm wondering what priors can i choose for a Taylor series as follows: $\theta_{1}+\theta_{2} (y-\alpha) + \theta_{3} (y-\alpha)^2$ What priors should I use for updating these parameters ($\theta_{1},\theta_{2},\theta_{3}$) in a Gibbs sampler to accommodate the conditions on Taylor expansion? Any help would be apprecia...
Reading about t-SNE, and looking at the pretty plots, it seems to be very good at separating things that we "expect" to be separate in low dimensions. Why wouldn't we use this to do dimensionality reduction before using some sort of classification algorithm (something data-hungry like a DNN for example)? EDIT: to rephr...
I have the following distribution of counts where blue represents blue shoes, red represents red shoes and green represents green shoes. Though the total sales numbers differ I want to check if the slopes of the three categories are the same over the years.: I thought to compute a Chi-Squared Goodness of fit test for ...
I have a Poisson model with two categorical variables. I am wondering if the model can only include the interaction term without the main effect terms? And how can I interpret it? Thanks!
For my research I collected board structure data of companies from 21 European countries of which 9 treatment group(before: mandatory one-tier or two-tier, after: choice between one-tier or two-tier) and 12 control group (mandatory one-tier or two-tier). I would like to investigate the effects of new regulations in th...
I am writing a research protocol which requires an ordinal logistic regression to be done (Kleinbaum and Klein, 2002). my outcome is type of neonatal admission with three levels, namely, NICU admission, High Risk admission, and Well Baby admission. My my predictors are number of antenatal care visits, age of gestation,...
Let $X_1,\,X_2,\ldots,\,X_n$ be $n$ independent random variables, where $X_i\sim\text{N}(\mu_i,\,\sigma_i^2)$, for all $i\in\{1,\ldots,\,n\}$. Consider the $n$-dimensional random vector $$\boldsymbol{Y}_n=\left(X_1,\,X_1+X_2,\ldots,\,X_1+\cdots+X_n\right)^T$$ I learned that $\boldsymbol{Y}_n$ follows a $n$-dimensional ...
I have a very basic question about interpreting confidence intervals. Say I use R to fit a linear model to the Nile water flow time series (from the datasets package), like this: # Flow of the Nile river (10^8 cubic metres per year) between 1871-1971 nile.ts <- data.frame(year = do.call(seq, as.list(attributes(Nile)$t...