instruction stringlengths 9 38.7k |
|---|
I am trying to learn the basics of Bayesian decision and I came across the phrase "proper prior" but I don't really understand what it means. Does anyone know?
|
I have some data $X_1, X_2, ..., X_n$ which shows no apparent sign of linear drift. Nethertheless, I want to conduct some sort of test which I could use in instances which are not so clear.
Is there a way of testing this without assuming normality of error terms etc?
Perhaps a randomisation test of some sort?
My data i... |
Let the joint probabilty mass function of discrete random variables X and Y be given by
$f(x,y)=\frac{x^2+y^2}{25}$, for $(x,y) = (1,1), (1,3), (2,3)$
The value of E(Y) is ?
Attempt
$E(Y) = \sum_{x,y} y\cdot\frac{x^2 + y^2}{25}$
$E(Y) = \sum_{x,y}\frac{x^2y + y^3}{25}$
Substituting for $(x,y) = (1,1), (1,3), (2,3)$
$E... |
A statistic called the Doolittle Skill Score (DSS) is sometimes calculated in relation to the deterministic forecasting of binary events. Hogan and Mason (2012) p35-36 provides the following instruction on two different ways of calculating the DSS:
I call one method the 'abcd' method and the other the 'hfs' method. Th... |
Suppose I have an exponential likelihood and a normal prior for the exponential mean, what is the form of the posterior density?
|
In a study of infrastructural (archaeological) findings i want to determine if findings are found mostly on or near modern roads. I have no clue what statistic test i should use for determining the significance of the results.
By this i mean: are the findings found at random places or are they really significantly fou... |
If Billy was to say that:
I completed my second year of college above the 95th percentile.
Does that mean that if there are 200 people in Billy's year, he appeared in the top 10 students?
I cannot get whether this is correct from Wikipedia. Also if it is not correct, if Billy was to appear in the top ten at his colle... |
$\Bbb P(A) = \Bbb E(I_A)$
If we translate this identity in plain English,
Probability of an event $A$ is equal to the Expectation of the
indicator function $I_A$?
What does it actually mean?
|
I fail to understand the need for the linearity assumption in the Gauss-Markov theorem and, even worse, I do not understand its meaning. We say that the model should be linear in the coefficients or parameters, implying that regressing $y$ on $x$ and $x^2$ is linear as the marginal effect would be $\beta_1+2\beta_2 x$,... |
I'm trying to proof:
$\hat{\beta}_j \sim Normal[\beta_j, Var(\hat{\beta}_j)]$.
The starting equation is:
$\hat{\beta}_j=\beta_j+\sum w_{ij}u_i$, where $w_{ij}=\hat{r}_{ij}/SSR_j$.
$\hat{r}_{ij}$ is the $i^{th}$ residual from the regression of $x_j$ on all other independent variables, and $SSR_j$ is the sum of squared r... |
Question
Dear all,
Assume you ask N persons to set their personal interval of acceptance (e.g. interval ranging from 0 to 100% for the power of a speaker system) which they would rate as enjoyable. You would end up with a list of intervals. How would you perform proper statistics on that? The point here is that not onl... |
I am having some problems with my regression where the SE is higher than the coefficient and sometimes even larger than the SE of regression. I am wondering what might be the underlying problem or is there an explanation to this.
Clarification on this matter would be much appreciated!!!
|
Firstly, he gives probability of outcomes. So, for example, his predictions for the U.S. election is currently 82% Clinton vs 18% Trump.
Now, even if Trump wins, how do I know that it wasn't just the 18% of the time that he should've won?
The other problem is that his probabilities change over time. So on July 31st, it... |
As far as I know, when estimating the density of a distribution based on a sample from that distribution, we can take two extreme approached for estimation. The first is to not assume (almost) anything on the distribution and use the ECDF (ecdf) or a kernel density estimation (density in R). The alternative is to assum... |
I'm in a Master's program in Applied Statistics. I'm taking three courses, and have A's in two of them (Non-Parametric and Survey Sampling), so I'm not (completely) innumerate. The third, however, is probability theory, and it is destroying me. We are using the Rice book (Mathematical Statistics and Data Analysis), w... |
What is the best statistical test to use if I measure the value of $Y$ (e.g. pH) for specific values of $X$ e.g. $X=0,10,20,30,...,100$ (e.g. temperature) and I want to test weather the relationship between $X$ and $Y$ is linear? (i.e. $H_0$: The relationship between $X$ and $Y$ is linear, $H_1$: The relationship betwe... |
I have a list of elements with very little information about them. These elements are ordered and I need to find the correct order. All I can do is to submit a query with a hypothesizes complete order and get a score (between 0 and 1) which represents how far is my ordering from the true ordering, without any informati... |
I have the following data:
Somkers
Yes No All
Groups ]10,20] 35 6 41
]20,30] 20 13 33
]30,40] 10 15 25
]40,50] 15 9 24
All 80 43 123
I understand that this type of data is a 4 by 2 table... |
I'm trying to understand when to report the standard error.
When reporting results in a scientific paper or essay, should any mean values also have the standard error reported alongside?
For example, let's say you measure the amount of toys a child buys each week over a year. You decide to calculate monthly averages.... |
So what can I infer from this red regression line?
What does it mean for the regression line to get positive residual values or negative residual values?
I know e.g. that I can infer that the more the line is near 0 the more "linear" the fit is.
|
Scikit-learn provides 4 different scoring objects for evaluation of regression problems:
‘neg_mean_absolute_error’
‘neg_mean_squared_error’
‘neg_median_absolute_error’
‘r2’
E.g. r2 is a particularly poor choice when the cross-validation strategy includes a very small test size (variance becomes extreme as the t... |
I have a set n with m elements. I aim for the number of all combinations of all permutations of all elements of the set.
An minimal example would be with a two element set [1,2]:
All permutations of all combinations:
[1]
[2]
[2,1]
[1,2]
I know the number gets huge with only a little number of elements in the set. At 10... |
I am trying to figure out the best approach to deal with cross-correlated variables in statistical analysis.
I am helping to analyse results of a randomised control trial for an educational intervention for a group of poor pre-school children in three different localities. We set up a trial with an experimental group a... |
With a friend we were playing with the notMNIST data, logistic regression and regularization.
Without regularization, we could achieve a training accuracy (10k samples) of 78%, and test accuracy (15k samples) of 82%.
With regularization, we achieve a training accuracy of 84% and a test accuracy of 88%.
I cannot underst... |
I'm trying to complete a homework regarding added-variables and leverage plots using the CAR package.
In the documentation of the leverage.plot() it says that "These functions display a generalization, due to Sall (1990), of added-variable plots to multiple-df terms in a linear model. When a term has just 1 df, the l... |
My reasoning is as follows: the p.d.f. is divided by the mean (expected value) into two parts, for which the areas under the p.d.f. curve are equal, hence the probabilities that random variable takes a value less then or equal to the mean are 0.5, which means that that value is also the median (by definition of median)... |
I wanted to make sure that my approach to performing a matched case-control study is on the right track. I am looking at a group of patients who all underwent the same surgical procedure for a given disease. Initially logistic regression analysis was performed which found that there was an association between disease D... |
I need to plot an AR(1) graph for the process
$$
y_k = 0.75y_{k-1} + \varepsilon_k
$$
for $y_0=1$ and another graph for $y_0=10$. Assume $\varepsilon_k$ is uniformly distributed on interval $[-0.5,0.5]$.
I have the following code but I am not sure how to control $y_0$:
#----------#Start#---------#
rm(list=ls())
librar... |
in my statistics course, it was mentioned that for the Ordinary least squares method (OLS) taking variables $X_i$ and $Y_i$ as the response variable, the random variable is solely $Y_i$.
However for the Orthogonal regression method (ORM) both the $X_i$ and $Y_i$ are considered to be random variables.
From my understa... |
Suppose $g_{n} \to g$ and $X_{n} \to X$.
Under what conditions on the above function, random variables, and types of convergence would it be true that $g_{n}(X_{n}) \to g(X)$?
EDIT:
I am aware of the continuous mapping theorem, but doesn't the $g_{n}$ make a difference here? For example, suppose $g_{n}: [0,1] \to [0,1]... |
I have following problem to show:
let scalar valued signal $X_t$ be transmitted at time $t$ and received $Y_t = X_t + \epsilon_t$. Where $\epsilon_t$'s are zero mean noise. Suppose $E[X_t]=0$ for all $t$. And $\operatorname{ Cov} (X_s,X_t)=\alpha\beta^{|s-t|}$, $|\beta|<1$; and $\operatorname{Var} (\epsilon_t)=\gamma$,... |
I'm trying to calculate a measurement error for some snail body length measurements I made over the summer. I was measuring the body length of 40 snails and because I was using calipers and sometimes measurement markers weren't always that obvious, I want to determine the proportion of variance my error contributed to ... |
In my notes:
Two variables in a contingency table are independent if the conditional distribution of one
variable is the same for all values of the other variable
I think this is somehow trying to relate to conditional probability, specifically
P(A|B) = P(A) or P(A AND B) = P(A) P(B)
But I don't understand the bolded ... |
Many researchers are using neural network to infer embedding vectors for words, users, or items. Word embeddings, e.g., word2vec, allow people to calculate sum, average, and difference over embeddings.
So does it make sense to multiply two embeddings? For instance, one 200-d user embedding and one 200-d movies embeddi... |
I know that early stopping is a way of regularization. I am using validation-based early stopping now. I believe early stopping can save the model before the model gets overfitting. In this case, do I need to also use other regularization, e.g. L1/L2, to improve the performance?
|
Considering we have a data set of 944 elements. One with 45% valid instances (433 instances) and the other with 73.8% valid instances (697 instances). The F1 score for the first group with lower valid instances is higher than the other. Is there any statically measurement that includes the number of instances into the ... |
I have two sets (small) of features that I need to compare against a class, and decide which set is better at classifying. The features are generated using ranking methods, and only the top 2% of the features are compared, to determine which method is better differentiating amongst the top ranking features. Both the sm... |
I was reading how to use collapsed gibbs sampling for latent dirichlet allocation in a google group and one user talked about using dirichlet priors with small hyperparameters and sum out the z variables.He argued that this leads to a highly nonconvex sparsity-inducing prior. I didn't find a good resource to explain th... |
I am working with a fairly unbalanced dataset (event class < 5% - it's a binary classification problem). To deal with this imbalance, I am trying out various techniques such as Oversampling the minority class (as well as synthetically generating samples using SMOTE), Under-sampling the minority class etc.
The problem t... |
I am trying to find out whether two variables X,Y are distributed as bivariate normal. Here is my procedure:
check whether X is normal
check whether Y is normal
check whether scatter plot is follow a ellipse
My tutor told me that I should remove the zeros of my data. I want to know, what is the point of doing that?
|
(source https://en.wikipedia.org/wiki/Loss_functions_for_classification)
A bit confused on how to interpret this graph. I understand that the y-axis here refers to loss, which is a function of the product of the predicted label and the actual label.
I also understand that the x-axis represented by $y_i f(x_i)$. $y = ... |
I am trying understand Pooling part from the Deep Learning. Ian Goodfellow and Yoshua Bengio and Aaron Courville. 2016:. I am confuse in this figure:
A pooling unit that pools over multiple features that are learned with
separate parameters can learn to be invariant to transformations of
the input. Here we show h... |
I am tuning alpha coefficient in Lasso regularisation to get best result on cross-validation:
alphas = np.arange(1,200, 1)
from sklearn.linear_model import LassoCV
lasso=LassoCV(alphas=alphas)
r=lasso.fit(X,y)
plt.plot(alphas,lasso.mse_path_)
This gives me following picture:
I want to see minimum of the red curve,enl... |
I am new to using VAR model. I have an orthogonal IRF that shows the temperature shock to tourist accommodation demand.
Ideal irf graph shows that the effect of shock dies out after sometime, but my graph shows an oscillating effect. How do I interpret the graph?
Thank You
|
My question is very simple and basic but it's confusing me.
Suppose we have a $p$-parameter vector $\theta =\{\theta_{1}, \theta_{2}, \cdots, \theta_{p}\}$ and I wish to do a likelihood ratio test. The hypotheses that I want to test are: $H_{0}: `` \theta_{1}=\theta_{2}=\cdots=\theta_{p}"$ vs $H_{1}$: "at least one $... |
This is my first question here.
I am currently working on (nonlinear) growth models using the FSA package in R. I compared several models. According to AIC the logistic model performed best.
Now I'd like to predict age from size. First I thought that I simply could solve the equation for age using the parameters obtain... |
I don't understand the following example,
Consider two urns, the first containing two white and seven black balls, and
the second containing five white and six black balls. We
flip a fair coin and then draw a
ball from the first urn or the second urn depending upon whether the outcome was heads or
tails. What... |
Consider linear regression model
$$y = X\beta + e$$
I want to construct confidence interval for fitted values, i.e. $\hat{y} = X\hat{\beta}$. Define linear fucntion of $\beta$ as
$$f(\beta) = X\beta$$
and
$$f'(\beta) = X$$
Now by Delta Method
$$\sqrt{n}(f(\hat{\beta}) - f(\beta)) \xrightarrow{d} f'(\beta)z$$
where ... |
I have a big dataset with many morphological data as variables and I have lots of missing data. I will perform an nMDS and as it does not allow the presence of missing data, then I need to be able to eliminate the missing data by eliminating some variables or some samples. To do this in a consistent way while keeping ... |
I am reading about bayes estimator and it says that the parameter for MAP (maximum a posteriori) estimation is equal to Bayes estimation. However, there is no proof whatsoever and I cannot seem to find proof of this online.
|
I have one group of firms with restatements. One control group with no restatements. The dependent variable is binary, 1 for restatement and 0 for no restatement. I have performed a logistic regression. But I also have to compare the means between the two samples (restatement group and control group which consists of n... |
Suppose we have multiple independent variables y1,y2,... along with their Pearson correlations r1, r2,... related to a dependent variable x. (Assume that we do not know the correlations between the independent variables).
Then the lower bound of the multiple correlation is (AFAIK) the largest of the correlations absol... |
Suppose we have a linear model fit to real world data and we access the quality of the fit by examining $r^2$, the p-values of the regression coefficients, the normality of the errors, the Cook's distances,... All the usual metrics. Once we are reasonably satisfied with the fit, we use the model to interpret the data.... |
My current definition of psychometric modelling is as follows:
The construction, via statistical tools such as the Rasch or DINA
model, of a simplified reprensentation of the operations that lead
from the items to the responses.
I am looking to correct and improve my definition.
Based on this question about stati... |
I am reading this:
https://www.cs.ubc.ca/~murphyk/Papers/bayesGauss.pdf
and on equation (17), there is a def on top of the equal sign. What does this mean?
|
I am working on a dataset which are rather unusual in the following ways:
It doesn't have just natural language text, it has text like user name, even code snippets etc.
Unusually large vocabulary (unique tokens) size (2M) for a 750K set of documents and about 19M tokens.
All the aspects of the dataset are important ... |
Is there a "soft" version for the ye-olde precision and recall metrics?
Precision (and recall) are defined given binary decisions, i.e.
precision=sum(marked_as_positive* is_positive)/sum(marked_as_positives)
Where marked_as_positive equals 0 or 1. Has anyone encountered a version that use probabilities instead of bina... |
Given that bayesian probabilites are updated over time, how is this represented in a probability space? More specifically, how do we interpret the probability measure of such a space? That is, presumably such a probability measure is not preserved over time, whereas in frequentist statistics this is assumed to be invar... |
How do you distinguish between ordinal (ordered) and non-ordinal (nominal) categorical variables when setting up a SPSS Two-step cluster analysis? The procedure seems to have only one undifferentiated input field "categorical variables".
Example of an ordinal variable: 1=low 2=medium 3=high.
|
I am trying to perform K Fold cross validation in scikit learn but I'm having a hard time understanding the results returned from it. My objective is to maximize the recall as I am using this to test a fraud detection system with a highly unbalanced dataset (approximately 98% to 2%, being the 2% the fraudulent percent... |
I don‘t understand the last line, why Ui is uniform distribution in (0,1) rather than in (0,f(x)/λ)
Thanks!
|
Let $X_t$ be a MA(1) time series - i.e., there is an IID $N(0,\sigma)$ process,
$Z_t$, such that: (for some value $\theta$) $X_t = Z_t + \theta Z_{t−1}$ for $t= \cdots , -3, -2, -2, 0, 1, 2, 3, \cdots$
Suppose that we don’t get to observe the $X_t$ process, but rather $Y_t$ defined as:
$$Y_t = (a +b t+c t^2) + X_t$$... |
In Stanford's 231N course, they discuss computing a vectorized form of the gradient of the loss function w.r.t. the matrix $W$ as the derivative of the matrix multiplication $WX$ w.r.t. $W$ multiplied with the derivative of the loss function w.r.t. the "upstream layer" input. This makes sense to me in terms of the chai... |
Suppose that $\{X_t\}$ is a weakly stationary time series with mean
$\mu = 0$ and a covariance function $\gamma(h)$, $h \geq 0$, $\mathrm{E}[X_t] = \mu = 0$ and $\gamma(h)= \mathrm{Cov}\left(X_t, X_{t + h}\right) = \mathrm{E}\left[X_tX_{t + h}\right]$
Show that:
$$
Var\left( \frac{X_1 + X_2 +\ldots+ X_n}{n}\right) = \... |
TL;DR: Are there any areas that combine (1) statistics/ML, (2) computation theory, (3) set/type theory, and (4) real/functional analysis? I apologize if I did not accurately categorize the domains listed.
I am a CS+math undergraduate, and my introductory real analysis, computation theory courses have piqued my interest... |
I am reading a paper, and in that it says if $P(x|y = +1) \sim N(\mu_1,\Sigma_1)$ and $P(x|y = -1) \sim N(\mu_{-1}, \Sigma_{-1})$. Then if we take the classification $f(x) = a^Tx-b$, then the cumulative distribution $P(ax < b| y = +1) = \Phi(\frac {b-a^T\mu_1} {\sqrt(a^T\Sigma a)})$ where $\Phi$ is the cdf of standard... |
Given the number of Bins, what is the formula for estimating bin height in a 2D Histogram in binormal distribution?
|
Currently I am working on a simple, single hidden layer, neural network to estimate the parameters of a certain phenomenon. The network requires two inputs and estimates the single parameter.
The data set used for training is obtained from experiments. This data set contains two input variables and a single output/meas... |
I'm new to SAS EM, and I'm having difficulty interpreting the results of a linear regression model.
I have a categorical variable (state) that's been converted to binary dummy variables, but how can I tell which one corresponds to which state? For example, is G_State 0 Hawaii or California?
|
I want to create a predictive model to predict a categorical value (1,0) but the independent variables are also having few string columns (country, location, age) which I feel are important for the prediction and should be included.
Which model should I use, will Linear Regression work? till now I did regressions which... |
I have a the following hypothesis: $H_0: \mu=4$, $H_1: \mu\neq 4$, which I wanted to test using a one sample t-test.
However, my data is not normally distributed and a transformation was not found. Which test should I use instead? What makes things harder is the 4, I think.
|
Suppose I have an event $Y$ that can occur as a result of events $X_1$, $X_2$, $X_3$......$X_n$. Let us assume that I have already observed past historical data on the co-occurrence of $Y$ and the $X_i$s. As a result I have conditional probabilities on the occurrence of $Y$|$X_i$ and $Y|X_i, X_j$ ($i{\neq}j$), $Y|X_i, ... |
Let $a_t$ and $b_t$ be white noise processes. Can we say $c_t=a_t+b_t$ is necessarily a white noise process?
|
A merchant has found that the number of items of brand XYZ that he can sell in a day is a Poisson random variable with mean $4$.
We need to calculate the expected number of days out of 25 that the merchant will sell no items of brand XYZ.
I tried as follows:
$$P(\text{No item is sold in a single day}) = \dfrac{4^{0}}{0... |
My variables are categories.
My SPSS result shows that Phi and Cramer's V are positive while Pearson's R and Spearman correlation values are negative.
How do I interpret this?
Data:
1 2 3
newtypeequity 1 0 0 2
2 0 35 138
3 7 18 0
Chi square tests: ... |
I am finishing the (very good, although demanding) "Pattern recognition and machine learning". I think I have learnt a lot. My previous knowledge in statistics and probability was very superficial. I would like to know more about statistics and probability, trying to cover the topics that Bishop doen't treat in his gre... |
Consider the discrete random variables $X$ and $Y$ whose PMFs are:
$\mathbb{P}_X(X=0) = 2/3$ $~~~~~~~~~~~~~~~~~\mathbb{P}_Y(Y=0) = 2/3$
$\mathbb{P}_X(X=2) = 1/6$ $~~~~~~~~~~~~~~~~~\mathbb{P}_Y(Y=2) = 1/6$
$\mathbb{P}_X(X=-2) = 1/6$ $~~~~~~~~~~~~~~\mathbb{P}_Y(Y=-2) = 1/6$
and the variable $Z = X\cdot Y$. Intuitively, ... |
I have a three-dimensional random vector $Y$ ~ $N(\mu , \Sigma)$ whose moment-generating function is:
$M_Y(t_1,t_2,t_3)=exp(2t_1+3t_2-3t_3+4t_1^2+5t_2^2+3t_3^2-t_1t_2+2t_1t_3)$.
It was easy to calculate $\mu$
because
$M_Y(t)=exp(\mu^Tt+\frac12 t^T\Sigma t), \mu_1 = 2, \mu_2 = 3, \mu_1 = -3.$
Also, $\Sigma=\left[\matrix... |
Suppose that {$X_t$} is a Gaussian stationary time series (i.e., strictly
stationary) with mean µ = 0 and covariance function γ(h). We observe the data:
{$X_1, X_2, ..., X_n$}. The sample autocovariance of lag h is defined as:
$\hatγ (h) = \frac{1}{n} $$\sum_{t=1}^{n-h} X_t X_{t+h}$
We are going to find an express... |
I've been digging into the formula for one way ANOVA test and I understand the we obtain the results from the ANOVA analysis with:
Group Sum of Squares/Total Sum of Squares
To see how much variance is explained. However, I also read that:
Total Sum of Squares = Error Sum of Squares + Group Sum of Squares
In that case... |
I have a case control study. Effect of A and B on C was calculated. C is a dependent variable (cases have C and controls havnot C defined as 1/0). A and B both are continuous quantitavie variables. Result of calculations show A and B have statistically significant relationship (effect) on C ( using independent samples... |
I have y=f(X)
where :
y is user performance,
X has 16 predictors (X1, .....X16) divided into two sets:
X1 ... X10 are the user parameters , and
X11... X16 are the task parameters.
I want to set up some different experiments (to get variation in the task parameters ) that will be done by the users in order to fin... |
The OLS estimator $\hat{\beta}$ of $\beta$ is unbiased. Now, $\hat{\beta}$ is a function of the random sample (y,$x_1$,...$x_j$) and is therefore a random variable itself. When we compute $\mathbb{E}(\hat{\beta}|X)$ we are basically fixing $X$ to be the data we have and we take an expectation over the $y$ variable. Unb... |
I have two questions, a conceptual one and a practical one (that are closely related). And just as a note, I'm not super familiar with this level of stats (much more comfortable with simple linear regression and ANOVA), so apologies if there are oversimplifications/obvious conceptual issues at play here.
First: There a... |
(This is a homework question)
Listed below are ages of actresses and actors at the time that they won an award for the categories of Best Actress and Best Actor. Use the sample data to test for a difference between the ages of actresses and actors when they win the award. Use a 0.10 significance level. Assume that the ... |
I was watching the new CNNs course by Stanford (CS231n) and they mentioned in lecture 5 that its a bad idea to have activation functions that only output positive values. They explain the intuition on the problem around minute 17:22. It seems to be about two problems that I am having a hard time connecting why they cau... |
I am struggling with a part of the proof in the Gauss-Markov theorem presented in Hayashi's textbook.
Hayashi defines a class of linear estimators $\tilde{\beta}=Cy$ of $\beta$ where $C$ can depend on matrix of indepedent variables $X$. He further defines $A=(X'X)^{-1}X'$, so that $\tilde{\beta}-b=Cy-Ay=Dy$, where $b$ ... |
In the papers I read, it is usually claimed that since RNA-Seq is count data, a Poisson or negative binomial distribution would be the most suitable ones to model the RNA-Seq data. However, as a computational biologist, none of the RNA-Seq data I have seen so far is composed of integers. All RNA-Seq datasets I have see... |
I do have a question related to selecting the appropriate lag length in a VAR model with two variables. Following functions are used to return the Portmanteau test and a test for dynamic stability (the last two rows):
serial.test(VARx, lags.pt=maximum_lag, type="PT.asymptotic"),
roots(VARx)[[1]], # should be <1 to be c... |
Model
Consider hidden state represented by the vector $\boldsymbol{\alpha}_t \in \mathbb{R}^n$. We observe at time $t$, the values $i,j \in \{1, \dots, n\}$ and $R \in \{0,1\}$ such that the $(i,j)$ are sampled uniformly without replacement from $\{1, \dots, n\}$ i.e.
$$ \Pr(i, j) = \frac{2}{n(n-1)} $$
and the probabil... |
I have that $X$ is a full rank $n$ by $p$ matrix with $n>p$. Let $X=UDV^T$ denote the skinny SVD of $X$ and let $X = QR$ denote its skinny QRD (skinny is also sometimes referred to as economic).
I need to show $U^TQQ^TU = Q^TUU^TQ = I$.
To do this, do I need to equate $QR = UDV^T$? If so, whats the relationship betwee... |
I am currently writing my dissertation on whether or not the adjusted mean for the treatment group’s increased outcome test scores for a post-test is significantly higher than the adjusted mean for the control group’s increased outcome test scores.
I will also run a test using the pre-test and post-test scores of the t... |
To check whether the data is stationary or not, I computed KPSS and ADF test and got the following results
adf.test(td,alternative = "stationary")
Augmented Dickey-Fuller Test
data: td
Dickey-Fuller = -3.7212, Lag order = 3, p-value = 0.03058
alternative hypothesis: stationary
Here, the p-value is <0.05, which ... |
I have run a mixed effects anova in r to look at the performance differences in two groups (control, patient) in 5 separate conditions. The conditions are my within subject factors. Group is the between subject factor. Performance is the dependent variable.
mixed.anova <- aov(performance ~ group * conditions + Error(I... |
I have a decent understand of OLS regression. Now, what if my observation isn't normally distributed anymore, how can I estimate my parameter of the regression model?
I was trying to estimate the parameter by minimize the negative log-likelihood. I have
$$
l(\theta,\gamma) = n\log(\gamma) - \sum \log(\gamma^2 + (x-\th... |
I was looking at Riparian Buffer Width, Vegetative Cover, and Nitrogen Removal Effectiveness: A Review of Current Science and Regulations, when I saw $R^2$ applied to a logarithmic model:
But reading Why Is There No R-Squared for Nonlinear Regression?, this reasoning as to why $R^2$ can't possibly work, makes sense:
... |
I am trying to fit the Poisson distribution to my data which is the inter-arrival times. The format of the data is:
time, count
2,3
5,1
8,2
,which means I had 3 objects with the inter-arrival time of 2 seconds, 1 object with 5 sec inter-arrival time, and so on. I a bit confused that I shall fit the Exponential distribu... |
How to prove that for any square symmetric matrix $A$ and a vector $x$ $x^TAx = tr(xx^TA)$?
|
I know this question might be a long shot here, but what types of data visualization and charts/graphs are exclusive for use in scientific fields as opposed to any other discipline like business and finance?
|
I am doing some tutoring for an AS-Level maths student and unfortunately for me they are doing statistics. This is not my strong point, mainly from the point of view of remembering all of the definitions, formulae and statistics. The workbook they had asked them to work out the Mean, the Variance, Standard Deviation, t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.