instruction stringlengths 9 38.7k |
|---|
I would like to calculate the influence of each sample on the coefficient under a logistic regression model. The R built-in function influence() is suppose to do exactly this. However, the result I got is different from the manual calculation.
sim_data <- sample(c(0,1,2), 10000, replace=T)
outcome <- sample(c(0,1), 1... |
Given: A tree where each node is an SVM classifier
Question: How do you calculate a child node's accuracy?
I am able to get the accuracy of each classifier in the tree. I guessed that this is called the conditional accuracy. Thus, the cumulative accuracy would be the previous parent node accuracy multiplied together wi... |
I have a generalized linear model for a data set and I want to use the model to simulate data that matches the data used to generate the model. I am not wanting to resample the original data, but rather use the model output to generate data that matches original data.
For example, suppose I have a binomial data set in ... |
I'm trying to adapt Andrej Karpathy's char-rnn model (which is also described in Alex Graves's Generating Sequences With Recurrent Neural Networks ) to real-valued time series. Unfortunately I'm having issues in training the network.
The idea is to predict the next value of the series given the current value. I starte... |
I have a set of differential equations that describes a physical system - actually a ball being heated. I also have some data taken from real experiments on the system. I would like to try to fit these parameters to the data using Bayesian inference. Over the past few days I've been getting to grips with MCMC and I now... |
I'm a newbie when it comes to MCMC. I'm working with a program that is used to fit a number of parameters given some data. The documentation is leaving me a bit confused, I'm hoping someone here could help put me on the right track.
For example, say I am fitting 3 parameters, $\alpha$, $\beta$, and $\gamma$. I have som... |
I am currently in the planning stages of my dissertation. I am looking at collecting longitudinal writing data for L2 English learners at at least four time points over the course of a semester. My sample size could range anywhere from 20 to 40 participants, depending on course enrollment and subject enrollment in the ... |
There are a number of useful answers about how to use the fitted model for a smoothing spline to make predictions given a data frame of predictor variables, such as to this question.
But, I'm struggling to comprehend what the fitted model is. Recognizing this is somewhat poorly-structured, what is the fitted model for ... |
I know my title seems to go against what an outlier is, but I don't know any other way of phrasing it.
Let's say I have a spreadsheet, and a column with the following values:
[From newest-to-oldest] 100, 9, 7, 100, 7, 7, 100, 9, 9, 100, 7, 9
If we were to disregard the 100's for a second, the average would seem to be 8... |
Let's say, I have a bunch of measurement vectors $\mathbf{x}(t)$ and $\mathbf{y}(t)$ for times $\{t_1,t_2...t_n\}$ and would like to compute the matrix A s.t.
$$A =\underset{A}{\operatorname{argmin}} \sum_{t} \lVert \mathbf{x}(t) - \mathbf{A}\mathbf{y}(t) \rVert ^ 2$$
Let, $\mathbf{x}(t)$ be the $t^{th}$ column of a t... |
I am running ANOVA to test for a significant effect for some data, and a grad student said I should run an ANOVA test formatted like this in R to test for significance:
x<- aov(angle~cond+sub)
where cond=condition with 4 levels (other, joint,self,diff), and sub=subject. My data being analyzed is formatted as follows:... |
I can easily simulate a data set where the regression residuals are iid with 0 mean and constant variance.
set.seed(123)
x = rnorm(100)
y = 50 + 25* x + rnorm(100)
df = data.frame(y=y, x=x)
The data assumes that the population regression equation is $$y = \beta_0 + \beta_1X_1 + \epsilon$$
And $\epsilon$ is white nois... |
Let's say we have a high dimension linear regression problem:
$$
y = X\beta + \epsilon
$$
where the dimension of $X$ is $n \times p$, and $y$ is just a $n \times 1$ vector.
We can solve for $\beta$ with standard Lasso.
Empirically, I found that the solution I got from directly solving it is different from solving th... |
Based on a previous Question, I want to ask what is the dependence structure of points from the same underlying function , which allows us predict a new point belonging to this same unknown function (also in some cases quantify the uncertainty).
Consider a set of input points $\textbf{X}^1=\{x_1^1,x_2^1,...,x_N^1\}$. A... |
We are triing to validate a sample for purity based on 2 chemical parameters. For pure sample chemical parameters, we don't have the raw data any more, only the population mean and the convariance matrix between the two parameters, from which we can construct a 95% confidence ellipse.
If the sample measurement lies out... |
Verify that the following is a bivariate density:
$F(X, Y) = \displaystyle\frac{2}{\pi}$ for $X^2+Y^2\leq1$ and $X < Y$
$F(X,Y) = 0$ otherwise
Now, I know that verifying that this is a bivariate density involves taking a double integral and showing that it is equal to 1. However, I'm not quite sure what the limits are ... |
In my corner of the world, I encounter this situation. A student will work on his/her dissertation/thesis and have a set of variables. To address the hypothesis, the student conducts a correlation matrix. I often encounter faculty who state "well, if you have several variables that you are correlating, why not conduct ... |
So I recently came across Poincaré plots (Wiki) which plots x(t) against x(t+1). Thereafter I found out about lag plots (Description)which seem to do the same thing just the other way around, i.e. x(t) against x(t-1). Now besides for the obvious offset difference, my question is, does it matter in terms of analysis.
Th... |
I want to get an average time series for a set of multivariate (2-3 coordinates) time series. My aim is finding the usual pattern of several processes.
I researched the literature a bit and I only reached this paper that showed a DTW based approach (DBA) and talked about PSA and NLAAF. I also looked at the links of th... |
I am trying to fit a generalised additive model to my data (s. below for R dput), which consists of one value per year for each id.
> head(test)
year val id
1 1930 1.40 te_01
2 1931 2.04 te_01
3 1932 1.40 te_01
4 1933 1.48 te_01
5 1934 1.25 te_01
6 1935 1.12 te_01
library(mgcv)
m1 <- gamm(val ~ s(year), data = ... |
I have data set from real life (number of emails send by one user during two year period - some days are without sent emails) since this is discrete event my focus is on Poisson. Since variance is not small (some days are with one email and another is with let's say 30 emails) and it is not equal to mean (some of you ... |
I have an issues with corrected p values from glht Tukey. When I use adjusted p values using the Holm method all p values = 1. If I do not adjust p values the issue goes away.
I'v trawled online but can't find a useful solution to my problem.
Reproducible code is:
library (lme4)
library(glht)
act<-glmer.nb(Abundance~T... |
related question
Which is the best visualization for contingency tables?
My application area is computational advertising (observational data; looking at e.g. CTR Click Through Rate - proportion of user clicks per number of impressions [user views] presented).
I am interested in plotting (for a non-technical audience) ... |
I am currently working on the predictive modeling task. I have 5 years revenue and turnover data by account level and each account is categorized by industry (sector specific) and I am interested in predicting which customer account revenue go nil ( or certain lower threshold which is categorized as prone to disaster ... |
My question
I have a set of $N$ random boolean variables $X_1, \ldots, X_N$ (each can be $1$ or $0$). For every $i \in [1, N]$, I know that
$$P(X_i = 1) = p^*$$
Now, I know that the variables are positively correlated, i.e., for every $i, j \in [1, N]$ I have:
$$P(X_i = 1 | X_j = 1) \geq p^*$$
$$P(X_i = 1 | X_j = 0) \l... |
I guess this is a very basic question, but I'm confused.
During a lecture we had a short introduction to T-Tests. Our professor referenced the following video and "explained" T-Tests using the same example: https://youtu.be/0Pd3dc1GcHc?t=3m29s
In this video, the two groups have exactly the same variance (6) and the mea... |
I have a population of ~500 000 individuals. Each of them either own or don't own a bike, and only 500 own one.
I need to divide my population based on several criteria (age, home-town, own a car, etc...), but I have many criteria and I could end up with groups of only one individual.
So I have two questions:
How do ... |
I have three FACS cell sorting datasets and I'm trying to find the best statistical test. The problem is that the data is in percentages, and I've spent all month searching for a test with no luck.
Sample GreenCells RedCells BlueCells TotalCellsSorted
1 4500 4600 1200 ... |
I need to compute modes and means and more stuff about some datasets. For this purpose, I decided to work with R. I am using MASS package and function fitdistr. Here is sample code:
a <- c(1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4)
library(MASS)
b <- fitdistr(a, 'lognormal')
b
meanlog ... |
I am trying to model FDI (foreign direct investment) flows and am facing several issues;
1) There is the well-known condition that under heteroskedasticity log-linearized OLS models are biased and inconsistent. Santos-Silva and Tenreyro (2006) suggest using Poisson pseudo maximum likelihood (PPML) to overcome this, and... |
First let me show this picture of my HMM Model.
Experimentally I get the High and Low values, whereas the
states {|-1>, |0>, |1>} are unknown. Although I know that when I measure
High signal I have |-1>. Also transition from |-1> to |1> are forbidden.
I heard that using a Markov Model here might be good to analyze
a... |
I have a patient group and a control group. Each group will take a medical test. I would like to estimate the required sample size (power 0.8, alpha 0.05) if the effect size (cohens d) between groups (as pertains to between group differences for results on this test) is 0.5.
This part is straightforward - and I would ... |
A Gaussian random variable $X \sim \mathcal{N}(\mu,\sigma^2)$ has known variance $\sigma^2$ but unknown mean $\mu$. The cumulative distribution function of $X$ is denoted $F(x) = P(X < x)$. This question concerns the prediction of $F(x)$ based on $n$ samples of $X$ using the Bayesian approach. The conjugate prior for $... |
could someone help me.
http://sites.stat.psu.edu/~jiali/course/stat597e/notes2/logit.pdf (page 4)
What exactly are $\beta_{10}$ and $\beta_{20}$. How are they defined?
I don't understand this, it's stated that $\beta=(\beta_{10}, \beta_1)^{T}$
|
I'm trying to understand or visualise what a cost function looks like and how exactly we know what it is. The job of an ANN is to learn from labeled data by weight updating, so that we can make good future predictions given new data (using those weights). However, the weights are updated using back-propagation (using g... |
As I understand it, the standard restricted Boltzmann machine (RBM) exhibits binary stochastic visible and hidden units. The joint probability of the binary and visible units is given by the Boltzmann factor familiar from statistical physics:
$$ P(v,h) = \frac{e^{-E(v,h)}}{Z} $$
where the energy and partition function ... |
I'm trying to fit a hurdle/zero-inflated (I haven't decided yet) model on microbiological water quality data that is also right-censored: either the water sample is contaminated with bacteria or not, and if contaminated, the number of colonies can go from 1 to 99 and "more than 100" (because it was not possible to coun... |
Working with the scikit-learn library for python, consider a linear regression model such as the elastic net (ElasticNet class).
Furter assume that one wishes to work with a normalised feature space whatever the reasons. Two options naturally come to mind:
Instanciate an ElasticNet object with the normalize attribute... |
Question: What kinds of statistical methods are available to test whether citizens are disproportionately stopped by police in relation to their race?
In New York City, this was called "stop and frisk", and some data relevant to this question is available at http://www.nyclu.org/content/stop-and-frisk-data
The usual an... |
This post refers to a bivariate linear regression model, $Y_i = \beta_0 + \beta_1x_i$ . I have always taken the partitioning of total sum of squares (SSTO) into sum of squares for error (SSE) and sum of squares for the model (SSR) on faith, but once I started really thinking about it, I don't understand why it works...... |
I have a linear mixed-effect model in R with two continuous fixed-effects and one random effect, like this:
model<-lmer(y~x1+x2+(1|r),data)
To graphically display the independent effect of x1 on y, while controlling the effects of x2 (fixed effect) and r (random effect), is it appropriate t... |
I'm using a one sample t-test to compare individual case specimens to a know sample. The sample is skewed data which contains the absolute value of differences between left/right continuous data. The t-statistic being calculated here is t=case1 - mean (sample) /sd (sample). Given that the sample size is very large (mor... |
This a more general question: I often deal with experimental data (subject to uncertainties in the measurements) that have to be transformed using a function, to calculate a parameter (which can, for example, be used by others to predict the behavior of a system/process). The propagation of the measurement uncertaintie... |
Ridge regression shrinks regression coefficients by a set proportion, and never to zero. Given this, its key benefit seems to be to reduce prediction error by decreasing the sampling variability of the parameter vector, at the cost of some bias.
Given data sets of 100,000 records or larger, the sampling variability of ... |
I have this distances:
install.packages("HSAUR");library(HSAUR)
b=round(scale(pottery[1:6,1:5], center=FALSE),2)
b1=round(dist(b),2)
> round(dist(b,method="euclidean"),2)
1 2 3 4 5
2 0.34
3 0.24 0.14
4 0.36 0.10 0.16
5 0.33 0.15 0.19 0.24
6 0.45 0.43 0... |
I would like to know what kind of test I can use to verify my findings. In general I have a two group of people. One is a control group the other one was treated with a drug. After some period of time we collected samples from them (urine, blood, spit, etc...) and we calculated the ratio between some metabolites which ... |
I did a logistic regression.
$Y = \beta_0 + \beta_1X_1 + \beta_2(X_2=1) + \beta_3(X_2 = 2)$
All of the predictors are categorical. $X_1$ has two level e.g. Yes/No, $X_2$ has three levels e.g. Low/Medium/High.
The likelihood Ratio Tests showed one of the IVs is not significant (Chi-square = 4.73, df = 2, p=0.094). Let... |
I've been searching for weeks now but I can't find a proof for the following relationship between the quantiles of the chi-squared distribution and the quantiles of the standard normal distribution:
$$\chi^2_{n;q} \approx \frac{1}{2}(z_q + \sqrt{2n-1})^2$$
$z_q$ is the q-quantile of the standard normal distribution, wh... |
There is a statement in the book Data Analysis by D.S. Sivia that I presently not understand.
The statement occurs during the consideration of an example concerning kangaroos, first proposed by Gull and Skilling (1984), in an introduction of the principle of maximum entropy.
The example goes as follows:
Information:
A ... |
I'd like generate samples from the blue region defined here:
The naive solution is to use rejection sampling in the unit square, but this provides only a $1-\pi/4$ (~21.4%) efficiency.
Is there some way I can sample more efficiently?
|
For simplicity, let $X$ be a continuous random variable and assume that
${E}[\ln(Y)|X] = \beta X$, i.e., the conditional expectation of $Y$ given $X$ is proportional to $X$.
According to many questions/answers on the interpretation of log-linear models, see https://stats.stackexchange.com/search?q=regression+interpret... |
Are Personalized Pagerank and Random Walk with Restart really the same thing? From this source, it seems to be: http://web.eecs.umich.edu/~dkoutra/papers/fabp_pkdd2011.pdf
I've used the RANKS RWR function and the igraph personalized page.rank function and have gotten different results, but it is not clear to me why if ... |
I want to regress a variable $y$ onto $x,x^2,\ldots,x^5$. Should I do this using raw or orthogonal polynomials? I looked at the question on the site that deals with these, but I don't really understand what's the difference between using them.
Why can't I just do a "normal" regression to get the coefficients $\beta_i$ ... |
As a market researcher I am frequently around discussions on multivariate techniques, regressions (linear and logistic), working with survey data, choice based designs, weighting data and occasionally Bayesian analyses.
Is anyone aware of a good book or few books that will take me from surface level knowledge deeper i... |
I am trying to understand the concept of Gaussian Basis Functions on regression models. From the equation:
$h_w(x) = \sum_{k=0}^{K-1} w_k \phi_k(x) = w^Tx$
where $\phi(x)$ is a Gaussian Basis function $\phi_j(x) = exp \{-\frac{(x-\mu)^2}{2s^2}\}$
Say my input is a vector X, with 10 features, and I want to implement 5 ... |
Can you advise some simple, robust maybe not perfectly accurate method for the automatic time series forecast. It should consider seasonality and trend and works both for stationary and non stationary data. Some data are seasonal, and some not, the season period is very different. It may not model residual or cyclic p... |
Let $X_i$ for $i\in\{1,\dots,n\}$ be a set iid normally distributed random variables with mean $\mu$ and variance $\sigma^2$. Let $Y_j$ for $j\in\{1,\dots,2^n\}$ be a positive linear combination of the $X$'s, i.e.
$$
Y_j=\sum_{i=1}^n c_{ij}X_i
$$
with $c_{ij}\geq 0$. I am interested in the properties of
$$
Z=\max_j{Y_j... |
I am considering reading either Agresti's Categorical Data Analysis, or Long's Regression Models, but I want to know how much do these books limit themselves by focusing on 'categorical data'.
For example, if we have data on the number of children that a family has, is that categorical data? Or what if we have some pla... |
Why do we use standard deviation instead of variance?
sample variance (S2) =
standard deviation (S) =
|
I have looked around but I cannot seem to find a conclusive answer. Does the Hypergeometric distribution assume that the probability of selecting a defective item at any point is equal to that of selecting a non-defective item?
|
I am using the mantel.test() function in the "ape" package in R to compare the similarity of two matrices. The function returns a p-value and Z-statistics. While the p-value is understandable, but I am not sure what the significance of the Z-statistics is. i.e Does positive high Z-statistic value means that both matric... |
So, to be honest, I have not figured out how to calculate the probability of the following problem:
Knowing a species has a 20% probability to be sick, and amoung the sick subjects there is a probability of 60% to be young subjects and a 40% of adults.
In the same species, there is a 80% probability to not be sick, ... |
Let's say you have a machine that runs on an algorithm with inputs that can be modified. Every 3 months, that machine produces 40,000,000 widgets. You can monitor if the widgets are being made correctly immediately after each one is produced. How many days (hours?) should I let the machine run to see if the latest inpu... |
I'm comparing two test methods, A and B, for asphalt density against the reference "true" density. I have paired measurements for each method and the reference. From a paired t-test of Method A vs. Reference, the p-value is 0.40. For Method B vs Reference, the p-value is 0.0007.
So, I reject the null hypothesis that M... |
I have a dataset that is unbalanced. I am testing how temperature and the size of a carcass affect the development rate of maggots. The duration is the time spent in a particular development stage of the maggot. I found the higher the temperature and the larger the carcass, the faster development (shorter duration).
My... |
I have been tasked to put together a monthly forecast model. I'm hoping to use some of the models in scikit-learn for this.
My original dataset is daily level and very rich. If I aggregate it to month-level, this gives me only 24 usable observations so many models may struggle with that. It feels like I should be able ... |
I have a small sample of 19 observations, with a mean of 8.105 and sd of 6.064. I want to calculate a 95% CI for the mean. My data is not normally distributed, according to the Q-Q plot. Assuming normality, I get a CI of [5.183,11.028]. I tried calculating a CI using bootstrap, but I am not sure I did it okay. The resu... |
I go on a safari. Each day, I see various animals, and a keep track of all of my observations. Assume that each time I make an observation I see a single animal. At one point, I've made a total of 153 observations and I've seen 127 rabbits, 22 gazelle, 3 lions, and 1 tiger (4 different species). This makes me curio... |
I am trying to calculate an R2 value to explain the variance in my model for a GLMM. My model is run using the glmmADMB package in R since the model is zero-inflated and overdispersed.
I have run a full set of models for my ecological data set and have selected my best model based on AICc.
Now that I have my best mode... |
I am running a random forest in SAS using 6 variables, one of them being a score that works very well on its own. When I train the forest and validate on a test set, I'm seeing the following in terms of rank ordering the dependent var:
RANDOM FOREST VALIDATION
scorerank Bads Total BadRate
0 288 3878... |
I am seeking to compare how two estimators perform on a test set. These estimators are approximately normal -- they produce both point estimates and $\alpha$ intervals.
One would like the point estimate to be very close to the true value, but one would also like the interval to cover the true value at the nominal rate... |
I've been considering two approaches to solving inverse/parameter-estimation problems, and I'm curious to the connection and/or difference between the two approaches.
Set up:
Say we have a forward model, $F$, that gives a response, $y$, given some unknown parameters to be estimated $\theta$, and uncertain known parame... |
I am familiarizing myself with quantile regression. I understand it is first and foremost an estimation method such as e.g. OLS. But I wonder about the probability distribution models for which quantile regression makes sense.
To use an analogy, the OLS estimator
$$
\hat\beta^{OLS}:=(X^\top X)^{-1}X^\top y
$$
is a mini... |
I know that the equations for obtaining the RAW regression coefficient of the slope and Pearson's correlation (r) are different, but conceptually, how do those two differ when you only have two variables?
Please let me know and thank you for your help!!
|
Let $X_i\sim N(\mu,\sigma^2)$, for known $\sigma^2$. We want to test $H_0: \mu=\mu_0$ vs $H_1: \mu>\mu_0$.
By Karl-Rubin theorem, we know that the UMP test is given by the rejection region $W$ defined by $T(X_1,...,X_n)>t_0$, when the ratio $\frac{f(x_1,...,x_n|\mu)}{f(x_1,...,x_n|\mu_0)}$ is a non-decreasing function ... |
I am trying to learn T statistics and T test using simulation. Why my simulation shows the population distribution does not matter? (In cal_t_stats1, sample was coming from normal distribution and cal_t_stats2 sample was coming from uniform distribution. In both case, it satisfy T distribution with degree of freedom N-... |
I would appreciate any help. I am trying to fit a nonlinear mixed model to some experiments. I have adopted a Gompertz function (y=Asym*exp(-b2*b3^x)), and the data used is 3 years of experiments (the doses were not always the same and I removed some outliers before any analysis). Moreover, since the measurements were ... |
I understand $P(A\cap B)/P(B) = P(A|B)$. The conditional is the intersection of A and B divided by the whole area of B.
But why is $P(A\cap B|C)/P(B|C) = P(A|B \cap C)$?
Can you give some intuition?
Shouldn't it be: $P(A\cap B \cap C)/P(B,C) = P(A|B \cap C)$?
|
I have a Chinese Restaurant Process with (unknown) concentration parameter $\theta$. After $n$ customers have been seated, I observe the number of non-empty tables and the number of people at each table. Now I'd like to estimate $\theta$.
How can I estimate $\theta$? e.g., how do I compute the maximum likelihood est... |
So I have a question in the exam of Statistics that I dont know how to do it:
There is $X\sim \text{Poisson}(\theta)$.
I want to estimate $\exp[-\theta] = P(X=0)$.
I know by the maximum likelihood method that a consistent estimator is $\exp[-\bar{X}]$.
Now is asked me to use R commands to calculate an approximation of... |
I have a problem with Time Series Analysis. Here is the link to my data. It is monthly data, starting from June 2008 until December 2016. I'm trying to build the ARIMA model on it.
First, I split the data into training and testing sets. The testing set contains data from 12 months in 2016.
# Spare the last year for tes... |
I am trying to find $\partial/\partial \theta \log \ L $ where $L = \pi^y(1-\pi)^{1-y}, \pi = \frac{\exp(X \beta)}{1+\exp(X \beta)}, \ X$ is $ N(\mu,\sigma^2) \ \& \ y$ is binary.
I first plugged in $\pi$ in terms of $X, \beta$ then considered $\log L$ and simplified. This is what I got after simplifying, $\log L$,... |
This is not a math question, this is a methodology and philosophy question.
Sometimes I see language describing things as "very statistically significant" because the p-value is extremely small.
But in the way that a p-value of 0.06 should not be called "almost significant", I wonder if a p-value of 0.00006 should a... |
I am seeking advice on structuring the random-effects component of a mixed model in R. The data that I am modeling come from an ecological experiment with a repeatedly-measured split-plot design. At each of 5 sites (site = A, B, C, D, E) experimenters set up 2 treatments (x = treatment, control) in separate plots. A re... |
I have input X, with 22 binary features and 70000 examples. The target y is one of 4 possible categories. They are unbalanced, with the most common having a bit more than 51% of the data. When I train a naive bayes classifier, it's cross validation accuracy is 47%. I initially thought it was overfitting, but the train ... |
I have calculated the ICC(1,1) reliability of my groups A and B over 2 trials using SPSS (syntax below), and found (with 95% CI's):
ICC(1,1) Group A = .832 [.766, .881]
ICC(1,1) Group B = .801 [.725, .858]
RELIABILITY
/VARIABLES=trial1 trial2
/SCALE('ALL VARIABLES') ALL
/MODEL=ALPHA
/ICC=MODEL(ONEWAY) CIN=95 T... |
I have a linear least squares model of the form $\hat{y}=\hat{\beta}X$ with multiple predictors in $X$ and I want to know if, based on $\hat{\beta}$, I can determine the relative importance of each predictor. This question suggests that if all predictors are independent and my data are standardized, I can use the magn... |
Most articles that I have found on the subject of testing for the independence of two events state if $P (A \cap B) = P (A) P(B)$, then $A$ and $B$ are independent. If I only had estimates of $P (A\cap B)$, $P (A)$ and $P(B)$ collected from sample data rather exact probabilities calculated using the entire population, ... |
Could you help me to proof that $COV(\bar{X},X_{(1)})$ = $Var(X_{(1)})$? Here, let $X_{1},...,X_{n}$ be random sample from two-parameter exponential distribution with parameters $(\lambda,\theta)$. The pdf. is $f(x)= \frac{1}{\lambda} \exp{(-(x-\theta)/\lambda)}$. I know that $X_{(1)}$ follows two-parameter exponentia... |
I used to hear some Statistics professor complaining about Machine Learning theories: "It is just Non-parametric Statistics". And, when I read Vapnik's book "Statistical Learning Theory", it seems he has been influenced a lot by non-parametric statistics. So, would anybody explain the similarity and difference between ... |
I have dozens of groups of an observed variable. The number of observations in each group varies and the variance between groups is different. The mean of each group is the variable of interest. The groups have a rank 1,2,...,k.
I need a test of whether the mean increases, decreases, or stays the same as the rank incre... |
Weight of people question:
Mean: 82kg, standard deviation 18kg.
75% of all people are at least how many kg?
Using the table, I get a z score of 0.67 or 0.68. So my answer is either 94.06 kg or 94.24 kg both of which were marked as incorrect. Am I doing something wrong, or thinking about it incorrectly?
0.68 = (x-82)/1... |
At a post office, customers enter a single line waiting to be served by any one of two clerks. Every minute there is a 60% chance that a new customer arrives. If there is no one in line and a server is free, the customer does not wait to be served. When a customer is being served there is a 25% chance every minute t... |
We already know that the estimator of quantile regression defined by LAD (Least Absolut Deviation),
minimizes sigma |e_i|.
But I also found a formula that minimize with an integral, not a sigma
Actually I can't understand why there are 2 different formulas.
In what case that use a sigma or integral ?
Are the distri... |
Suppose I have several models, one of them $M$ has a 100% training accuracy.
So regardless of how a stack the models, the stacked model is just M. e.g. If I use a linear model to stack them, then the new model is just $\hat{y}_\text{stack} = 0\cdot 1 + 0 \cdot \hat{y}_1 + 0 \cdot \hat{y}_2 + \dots + 1\cdot \hat{y}_M$
A... |
In my experiment I have 3 types of soil and I fertilised all of them with the same fertiliser at the same application rate. I then sub-divided my 3 soil samples by adding one type of soil amendment at 3 different rates: "none" (i.e. fertiliser only), "rate1" and "rate2".
My question is: can I treat the amendment rate ... |
Can someone please help me on how this solution gives 50 as a result?
|
I am using an estimator which assumes that conditional variance is proportional to conditional mean. My model include more than ten variables, where the depended variable and some of the independent variables are continuous, but most of the independent variables are dummies.
Now i would like to check whether this assum... |
I have multiple short (say, length <100 points) time-series as exemplified below. All the series are made of values measured in the same units. I need to find some criterion for judging their "flatness". Preferably, I'd like to find single numeric value, so that I can find some decision boundary that let's me distingui... |
Suppose I have a relationship between 3 variables:
A = B + C
and that I know that B and C are related with an other variable D that has opposite effect on B and C:
Increasing D will increase B but decrease C.
Now if I regress A on D (D=IV), D has a strong negative effect on A. So I can desume that the negative effect o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.