instruction stringlengths 9 38.7k |
|---|
If we know that:
How should I calculate the likelihood? I arrived to the next expression:
But something must be wrong because when I do this numerically, if n is big this likelihood will tend to 0... Easily deductible
|
I know that bias is the difference between this estimator's expected value and the true value of the parameter being estimated. In classical approach the parameter has one particular true value, meanwhile in Bayesian approach the parameter value (is fixed but) is chosen from a probability distribution.
But is it Bayes... |
Let the density function be given by
$$ f(x;a,b) = \frac{a + 2 b g(x) + (1-a-b) g(x)^2}{(1-x)(2 b g(x) + (1-a-b) g(x)^2)}$$
where $a$ and $b$ are parameters of interest and $g(x)$ is a known function.
I was told that using this density function in maximum likelihood, the parameters $a$ and $b$ are identified.
The conce... |
Imagine I want to regress y on x1, ..., xk. I have missing values in the dependent variable, as well as in some of the independent variables, and have used multiple imputation to create D imputed datasets.
So I run the regression using each of the datasets, combine the estimated parameters and standard errors using Rub... |
For those who know something about statistics,
I'm wondering how to analyze a prediction interval encompassing other prediction intervals. To provide some background, I'm not talking about confidence intervals (they are often confused). I'm computing a 95% one-sided prediction upper-limit for a set of data. The definit... |
As discussed in this post, perfect separation (algorithm did not converge) is a separate issue aside from "fitted probabilities numerically 0 or 1 occurred".
As suggested in @gung's example, the model can be perfectly fine, even fitted probabilities numerically 0 or 1 occurred.
So, why R is giving such warning? Becaus... |
I have two groups, transgenic and control mice, in which I take two measures at two different times. I want to see if there is an effect in the variable within-Subjects depending on the time and if this effect is different between my two groups (eg. the effect can be observed in the control group but not in the transge... |
A statistical model for the data set $\bf{y}$ is an exponential family with canonical parameter vector $\theta = (\theta_1,.. \theta_k)$ and canonical statistic $\bf{t(y)} $=$(t_1(\boldsymbol{y}),..t_k(\boldsymbol{y}) ) $ if it has structure
$f(\boldsymbol{y};\theta) = a(\theta)h(\boldsymbol{y})e^{\theta^T\bf{t(y)}} $... |
I am using multivariate autoregressive (MAR) models to fit my long-term dataset of species abundances and environmental variables but when I use only the data from a specific period of the year (e.g., summer) instead of all of it, some coefficients from the resulting model are greater than 1. What does this mean? Shou... |
I have a pdf modelled as a piecewise linear function that I can represent as the sequence of pairs of real numbers standing for the points in the of the piecewise line: $\{(x_{1}, y_{1}), \dots, (x_{n}, y_{n})\}$ such that
each $x_{i}, x_{i+1}, i=1\dots n-1$ is a bin; the first two points are on the x axis, i.e. $y_{1... |
I'm using XGBoost (extreme gradient boosted trees) for binary classification. I'd like to calculate feature importance scores, to help me understand the relative importance of different features. The XGBoost library supports three methods for calculating feature importances:
"weight" - the number of times a feature ... |
I am currently studying "Gaussian Processes for Machine Learning", and in chapter 3 they state that the posterior $p(y_*|X,\mathbf{y},\mathbf{x}_*)$ (eq. 3.10) and the latent variable posterior $p(f_*|X,\mathbf{y},\mathbf{x}_*)$ (eq. 3.9) cannot generally be solved analytically, due to the sigmoid likelihoods in (3.9) ... |
Two well-documented "empirical regularities" of asset return series are
Serial dependence: (i) Linear autocorrelation in $x$ (up to 20 minutes); (ii) Autocorrelation of non-linear functions of the series (e.g., $x^2$, $|x|$, $\cos(x)$; up to several weeks)
Non-gaussianity: (i) Leptokurtosis; (ii) Positive skewness. A ... |
I have a SAS PROC MIXED question and I hope that y'all would be able to help me. It is my first time posting a question on here.
First, an analog to help define the question: Imagine that a researcher has a predictor with three levels and one outcome measure. The researcher is interested in testing the main effect and ... |
Assume I only did a completely randomized experiment (CRE), i.e., $N$ subjects, I randomly assign $N_t$ (say $N_t=N/2$) of them to the treatment group and the rest to the control group. Now, after I finish the experiment and try to compute the average treatment effect. I also see that I recorded the gender of each subj... |
I am currently writing a seminar paper where I among other things conduct a Wilcoxon rank-sum test. The sample size is very small, so I don't have any significant results. My professor thought it might be interesting to calculate the sample size that would be sufficient for a 5%-signifance level assuming the effect is ... |
Can we say that clustering is a function?
Of course, the term "clustering" is broad and can mean different things in different contexts: clustering as an area in machine learning, clustering algorithm, clustering mathematical method, etc.
But, can we talk about a clustering function? Like we can talk about classificati... |
I'm kind of new to ensemble methods, but since bagging, pasting and voting gave me some improvement in accuracy of my feed forward neural network (implemented in Tensorflow with multiple hidden layers) I thought I'd give boosting a try.
Since I already used Sklearn's BaggingClassifier and VotingClassifier, I thought f... |
In a time series, I want to predict $ b_{i+1} $ and I know $ ...,x_{i-1},x_i, x_{i+1} $ and $ ...b_{i-2},b_{i-1},b_i $.
I know by prior knowledge that they have a linear relationship:
$\alpha * x_i = b_i$
Normally I would just make a linear regression to understand the constant $ \alpha $ and find:
$ E[b_{i+1}] = \alp... |
I have the following problem I consider to model with HMM. However, it seems to me like a non-standard application or it possibly makes no sense employ HMM. I already have some practical experience with HMM used on time series and quite good theoretical knowledge.
Problem:
I am observing a continuous, time series-like ... |
I have trouble picking an appropriate statistical evaluation method for my experimental data.
A number of reliable participants perform a binary categorization task over n phrases. For each data point I end up with $x$ "0" votes, and $(n-x)$ "1" votes. Now I need a measure that helps me decide when it is appropriate to... |
I have one continuous dependent, two categorical independent and one continuous covariate. How I can deal with the violation of homogeneity of regression coefficients which is the ANCOVA assumption. Do I need to check this assumption when I enter the interaction between two independent variables too?
|
I want to model the relationship between two (time-series) variables by using a Vector Autoregressive model (VAR). Since I am not entirely familiar with time series analysis yet, the following question came up in my mind: Is it a good idea to simply model the relationship of the variables by using OLS? I thought it mig... |
I am using TensorFlow's pre-trained model of Convolutional Neural Network.
https://github.com/tensorflow/models/blob/master/slim/nets/resnet_v2.py#L130
I found following sentence:
However, for dense prediction tasks we advise that one uses inputs with
spatial dimensions that are multiples of 32 plus 1, e.g., [321, 3... |
If the speed of a car is $v = at$, at time $t$ it will be $\frac{1}{2}at^2$ units away from the origin.
If an ideal spring is displaced $x$ units away from its original position, it gains $\frac{1}{2}kx^2$ units of potential energy.
The area of an circle is $\frac{1}{2}\tau r^2$, where $\tau = 2\pi$
It is clear that a... |
The central limit theorem states that the limiting distribution of a centered and normalized sum of independent random variables with mean $\mu$ and finite variance $\sigma^2$ is Gaussian.
$$
\frac{\sum_{i=1}^n(X_i-\mu)}{\sigma\sqrt{n}}\xrightarrow{d}N(0,1)
$$
However in practice, we may not be working with sums of cen... |
I have 3 layers of data [in individual columns] indicating different characteristics of resistance of vegetation to stress across a city. I have another layer of median income for my study area. I would like to see if income has any impact on vegetation's response to stress.
This seems like a problem for multivariate l... |
I have continuous random variables: $X_i;~i=1,\cdots,K$ which are i.i.d. and $Y_i;~i=1,\cdots,K$ which are i.i.d. However, $X_i$ and $Y_i$ are independent but not identical.
Now I have $Z_i=\min(X_i,Y_i);~i=1,\cdots,K$. Can I claim that $Z_i;~i=1,\cdots,K$ are i.i.d?
|
I was calculating the deviance from a regression model that I fitted following the same idea from here Deviance.
For a likelihood $p(y|\theta)$, we define the deviance as
$$D(\theta)=-2\log p(y|\theta)$$
The problem is that in this model the deviance is negative and I was trying to calculate the deviance residuals ... |
I would like to know whether there is a cut-off probability of outcome when classifying observations into more than 2 classes.
For instance, the threshold in binary logistic regression is usually 0.5, so much so that a probability below 0.5 disfavours the reference outcome.
However, in a three-class problem it seems th... |
I need to fit a 7-parameter function (actually 6 since one of them is fixed) on a histogram using ROOT. The function is basically an asymetric gaussian curve. The algorithm I'm using actually makes between 20 and 1000 fits and keeps the parameters that produces the highest p-value.
After each try, the code makes a chi-... |
stage1 n1 stage2 n2
1 4 10 7 10
2 3 20 5 20
3 2 30 3 30
4 1 40 4 40
I have information on 4 studies (one per row), and I have information on how many people have the disease at each stage. Study #1 has 10 individuals, and 4 people have the disease at stage1 of the trial (propo... |
I'm still in awe of whuber's crayon-depiction of covariance: How would you explain covariance to someone who understands only the mean?.
I get that in order to represent variance of $x$ with CDF $F$ using this crayon method, we would need to draw 3 i.i.d random variables $(x_1,x_2,x_3)$, and compute the amount of "red... |
I observe things so that, during an observational session, I develop a probability density function $f(x)$ describing the likelihood that $x$ is equal to different real numbers. I have $n$ of these observed probability function $[f_1,f_2,\dots,f_n]$. All of these observations seem equally valid to me. How can I combine... |
Let $x_{i:n}$ be the $i$-th order statistic of $n$ i.i.d. draws from CDF $F$ over compact support $[0,1]$, i.e. $x_{1:n}\leq x_{2:n}\leq \cdots \leq x_{n:n}$.
Do we always have $Var(x_{1:n})\leq Var(x_{2:n})$?
|
Recently I attended a seminar where they said that a machine learning (ML) model is just a mathematical equation.
Having been studying neural nets and deeper models as such I feel it is not a precise statement.
A ML model could be better said to be a black box in which there are signals to tune its parameters. Internal... |
I am in general confused about the assumptions of linear regression and on whom are those assumptions taken to be and what are the consequences of these assumptions on the validation procedure for the regression model.
Can someone help in this regard.
|
Say I have 1000 points in my data and perform 5-fold cross validation.
Each fold uses 800 instances to train the model, then calculates the error on the holdout fold of 200.
The 800 training instances will not be distributed exactly as per the original 1000. The average of each predictor variable amongst the 800 will b... |
I'm reading through a lesson on Bayes theorem and I saw this slide:
How can model & data be == (data | model) x P(model)?
Does the & not imply multiplication? Otherwise it implies that data == data | model.
|
I am having trouble constructing a lift curve from scratch.
Say I have bunch of 0-1 labels, and predictive labels. In order to construct the lift curve, I do the following steps (assume I have already trained my model using a logistic regression):
make a prediction using the validation set
Sort the outcome of step #1... |
My data has 5000 points. I predict a categorical outcome using 10 numeric variables.
I build a tree with 3500 points (in R using rpart) using cross validation and plotcp shows this below ...
I have set cp = 0 so it would keep growing for even the smallest amount of improvement of fit.
This looks like overfitting to me.... |
My hypotheses are as following:
Energy intake
H0= the mean energy intake is between 90-110% of the calculated requirement.
H1= the mean energy intake is not between 90-110% of the calculated requirement.
Because this hypotheses contain a range, the following sub-hypotheses are formed to test if H0 will be rejected:
H... |
I want to approximate a known distribution with another distribution. For example, suppose the known distribution is a negative binomial distribution whose mean and size parameters are 10 and 3 respectively (i.e., dnbinom(x,mu=10,size=3) in R). Suppose I want to approximate this distribution by a mixture of two poisson... |
I was building a OLS model. The RMSE was not very satisfactory. So I tried feature engineering and the result improved and there was no over-fitting. To, further improve the results I thought of trying Ridge regression, but there was no significant improvement.
So, my question is - Do regularization techniques work tow... |
I've used a 27 item questionnaire on barriers to physical activity. Scoring system was used to indicate how likely each statement/question was considered to be a barrier (very likely=3, somewhat likely=2, somewhat unlikely=1, very unlikely=0). Scores of the three theme-related questions were added up to provide a total... |
In GLM, there is explained deviance (D square) (Guisan and Zimmerman 2000). Contribution of each predictor in the best model can be compared using the explained deviance in the model excluding each predictors to that of the full model, and expressed as ΔD2.
GLMM has conditional R square (Nakagawa and Schielzeth 2013), ... |
In our company, we have a problem where we need to predict which user/vendor is likely to login at a particular time.
We have lots of data about which user logs in at which time. The problem is we have about 30K users, and each user is identified by a code, of say 32 digits.
I understand that simple classification will... |
Assume that you have two Poisson random variables, $y_{jk} ∼ Poi(\lambda_{jk} \psi_j)$ and $y_{kj}∼Poi(\lambda_{jk}\psi_k)$. I've read that this parameterization is not unique, but for me it is not trivial to see this. How to show that this parameterization is not unique? And how do I make it unique? So it is really a ... |
We're trying to replicate a study by MacInnis et al. (2016) using R. The goal is to derive relative risks (RR) and confidence intervals (CI) from a GLM with a binary outcome and several categorical and continuous predictors. The more I read about the possible ways to do this, the more confused I get. Right now, I have ... |
I have the wine data from here which consists of 11 numerical independent variables with a dependent rating associated with each entry with values between 0 and 10. This makes it a great dataset to use a regression model to investigate the relation between the variables and the associated rating. However, would linear ... |
Im doing my final year project now which is a correlational study. I came across a formula which required me to enter the r, alpha and beta value and then it will calculate the sample size needed for me. I am curious about its justification, why we can use the r value from other study to calculate the sample size for m... |
Disclaimer: I am a programmer by trade, not a statistician, so please cater to my ignorance when explaining things and I apologize now if I make any incorrect assumptions
Please consider the following problem:
I am currently attempting to build an OCR platform for printed characters moving at speed in a video stream. I... |
Disclaimer: I'm looking for a bit of help as I'm only a simple neuroscientist and even working out what to google in this area is a tricky prospect. Here goes:
I have a set of data (3d positions in the brain). This can be allocated to known brain areas. What I want to know is - do these positions cluster nicely in to p... |
I have the wine data from here which consists of 11 numerical independent variables with a dependent rating associated with each entry with values between 0 and 10 (increments of 1). The dataset is split into 2: red wine and white wine. Can one make a single regression model to predict rating, i.e. for both red and whi... |
Consider two sets A and B of time series, with dimensions (Txn) and (Txk) respectively and k
Each time series in A is associated to one or more series in B. The association is based on some prior expectation that the series are "similar".
I apologise as the question is vague at this stage. Any ideas on how to verify s... |
I am attempting to extract p-values for some given t-statistics (calculated from paired t.tests) using the pt function in R.
My understanding was that the t-statistic in this case is a measure of how many standard errors away one mean in a pair is from the other. As such I assumed that the further away the t-statistic... |
In an exam I may have to calculate Spearman's Rho by hand which I have no problem with. An example I was given had 2 variables: grade and age group which had 5 pieces of data each, I calculated the correlation coefficient of -0.6. I'm also given a critical values table which looks like this:
how do I interpret it to ... |
Which methods could be used in order to reduce dimensionality from n to 1?
Giving an example:
I have a data set of 8 variables, and I would like to obtain one combination that describe the maximum information in order to get a score of the importance of each variable.
Going deeper:
Imagine these 8 variables are related... |
I am very new to image processing and Matlab. I am working with RGB image and used SLIC algorithm to generate superpixel for an image. By using regionprops to calculate the superpixel properties.
[Rcounts binlocations]=imhist(ImageRED);
[Gcounts binlocations]=imhist(ImageGREEN);
[Bcounts binlocations]=imhist(ImageBLUE)... |
Assume we have two series of indepedent success-failure observations, e.g. coin tosses
$$
\boldsymbol x_1 \in \{H,T\}^{n_1} \\
\boldsymbol x_2 \in \{H,T\}^{n_2}
$$
Also, let $k_i$ be the number of heads (=successes) in $\boldsymbol x_i$.
Now, I want to assume the observations are generated by two random variables $X_i$... |
I have monthly price data for a commodity from 2007 to 2017. You can find it in the following link:
https://drive.google.com/open?id=0BxRCOgKAL4itcUZlOExrUmVOanc
I need to forecast it using Seasonal ARIMA model in R for next year. When I am using auto.arima function, it suggests me the best model as ARIMA(0,1,1) instea... |
I have a data set wherein there are 10 predictors (both continuous and categorical) while the dependent variable is a factor with levels 0 or 1. The event rate in my data (% of actual 1s) is 10%. However, when I apply random forest, it classifies only 5% observations as 1 and the rest 95% as 0. Why would this happen? I... |
I have the minor allele frequencies for three populations for a given SNP (location in the genome).
eg. Population 1: 0.56
Population 2: 0.60
Population 3: 0.70
I understand that to compare population 1 to population 2 to see if the frequencies differ significantly, I would do a binomial test. However, wha... |
Here is my model:
anova_price <- Anova(lm(df1$Price ~ df1$Clarity + df1$Colour + df1$Certification),type = 3)
anova_price
Anova Table (Type III tests)
Response: df1$Price
Sum Sq Df F value Pr(>F)
(Intercept) 502073518 1 61.2424 9.01e-14 ***
df1$Clarity 34957402 4 1.0... |
library(metafor)
dat <- get(data(dat.berkey1998))
V <- bldiag(lapply(split(dat[,c("v1i", "v2i")], dat$trial), as.matrix))
res <- rma.mv(yi, V, mods = ~ outcome - 1, random = ~ outcome | trial, struct="UN", data=dat, method="ML")
print(res, digits=3)
> dat
trial author year ni outcome yi vi v1i... |
I have one continuous dependent, one categorical independent and one continuous covariate. So my first statistical approach was ANCOVA, however, the sample sizes in each group are around 15. Someone suggested me using nonparametric ANCOVA which I am not familiar with this method. How is the accuracy of this model? Is t... |
It's been more than 2 years that I am working on different time series. I have read on many articles that ACF is used to identify order of MA term, and PACF for AR. There is a thumb rule that for MA, the lag where ACF shuts off suddenly is the order of MA and similarly for PACF and AR.
Here is one of the articles I fo... |
Suppose the following Bayesian hierarchical model:
$$ Y|\lambda\sim\text{Pois}(\lambda) $$
$$ \log(\lambda)|(\mu,\sigma)\sim N(\mu,\sigma)$$
$$ \mu\sim N(0,10) $$
$$ \sigma\sim\text{Gamma}(0.01,0.01).$$
Suppose an observation $y$ of $Y$. I am interested on the theoretical simulation of a sample from the posterior predi... |
I was looking for advice on confidence intervals. I am currently working on automating the calculation of some of our indicators using Byar's method (outlined in Formula's 4a and 4b on page 7 of this document). I have coded these formulas out in python and I'm getting to-be-expected results with the following functions... |
I'm currently preparing for an exam in Risk Management (mathematics) by doing exercises from old exams. One of these exercises proved to be too difficult because of the following:
Given $(X_1, X_2)$ a r.v. vector with $X_1$ ~ Exp$(1)$, $X_2$ ~ $N(0,1)$ and the dependecne structure given by the copula
$$ C(u_1, u_2) = \... |
Daryl Bem published a paper called "Feeling The Future" (chronicled in Wired) in which he gives statistical evidence for extrasensory perception (ESP) using traditional statistical techniques in social psychology. This is controversial: is there ESP, or is stats in social psychology broken? Several authors have rebut... |
I am a PhD student.
I have a data set (waiting time in minutes between tweets) which looks almost symmetrically to the naked eye.
I've tried a couple of distribution fits to this data and the closest I can get is a cauchy distribution with a p value = 0.02. I'd like to see if the data is a reasonable fit to a Laplac... |
I consider data {$y_{ij}$} which is a rectangular table of counts, and that follows a Poisson distribution, $y_{ij}\sim \operatorname{Poisson}(\mu_{ij})$. The mean value, $\mu_{ij}$ depends on a variable $x_{ij}$, which for each pair $(i,j)$ is known. As a model I have the following: $$\mu_{ij}=\alpha_i\beta_jx_{ij}^\g... |
I have a bird which largely travels in packs with other birds. Though, not always.
Anyways, for most birds, I have a position covariate (longitude and latitude), but not for this one particular bird.
I want to do imputation, but before I can decide on multiple imputation and so on, I need to actually find something to ... |
I am trying to model and forecast an industrial process, in which the agent has to choose the percentage to attribute to four products, which I will call y1, y2, y3 and y4.
They add up to 100% in the data, and must add to 100% in the forecast.
I have the four time series y1 to y4, and two explicative series for each on... |
I am familiar with the multilayer perceptron neural network but not convolutional neural network. What is the intuition behind it?
I have learned Convolution Theorem from digital signal process literature, where "Convolution in one domain (e.g., time domain) equals point-wise multiplication in the other domain (e.g., f... |
Main Question:
I am wondering why my completion time data for trials is not as skewed as the completion time for the tasks that makeup the trial?
Details:
I am comparing two user interfaces on task completion time. The participants were given a set of tasks to complete with UI-A and the same set of tasks to complete w... |
Yes, another question asking if my hierarchical general linear model is written correctly, and if the question I am asking is being tested.
Basically, we have 63 subjects answering 48 (Recog) questions. Each question is split into group one or group two (Format). I want to ask if the effect of Format still holds when t... |
I have been trying to build a model based on random forest, and have the made the model deterministic by setting the seed before calling randomForest function. After I get the random forest model, I created predictions for the model. The prediction values are different between when importance is set as true and false.
|
I understand the intuition behind the MCP but I'm having trouble pinpointing exactly the cause, what is it that should be avoided, or at least accounted for.
In its most blunt definition, I agree that if I take any data and apply a brute force approach to it trying every possible null hypotheses, I'll eventually find o... |
To gain an understanding of BPTT, I'm attempting to derive the formulas for BPTT by hand, but keep getting stuck. Here's what I have so far.
Forward Pass 1
$a_0 = x_0 * u_0$
$b_0 = s_{-1} * w_0$
$z_0 = a_0 + b_0$
$s_0 = func_0(z_0)$ (where $func_0$ is sig, or tanh)
Foward Pass 2
$a_1 = x_1 * u_1$
$b_1 = s_0 * w_1$
$z_1... |
Suppose I had a finite number of balls, say a total of $k$, where $k$ is a multiple of $6$. Each ball belongs to one of $n$ different groups, by color. If I know the number of balls that belong to each of the $n$ different color groups is it possible to determine, analytically, the feasibility of mixing and matching ba... |
I fitted a Bayesian model and the histogram below is from a posterior estimation.
I calculated the empirical probability that $\beta_3$ is bigger than $0$. This probability is $P(\beta_3>0)\approx 0.94$ is wrong if I say that this parameter is non-zero?
|
When doing supervised learning classification, how can I account for seasonal data?
Here is a very simple example to consider
Classify loans as either being defaulted on or not
Data entries have a numerical loan amount and a date
Time is important here because there can be seasonal trends in spending that can help c... |
The question is in the title. I'm mostly asking because I'm wondering whether this is subjective or not (this is regarding a sample like avg engineer salaries by state).
I know it's more appropriate to use the mean if the distribution is symmetric, or normal. But wouldn't all real life distributions be skewed, technica... |
I would like to know if there is a statistical difference in the rate of different groups being routine or urgent.
My Data is as follows
Group. Routine. Urgent
A 361 79
B 297 41
C 38 4
D 31 3
E 58 ... |
I am interested in analyzing data from group randomized trials: a group randomized trial involves recruiting groups, like children within a school, people within a community dwelling, bats in a cave, or teeth in a mouth. The outcomes that are measured are measured within individuals. The group is randomized and exposed... |
I'm considering an experimental set up whereby I have 20 individuals (1-20), and each individual has a control and a treatment sample (C,T), resulting in 40 collected samples in total. Now we would like to measure gene expression from these samples (40 experiments, 1 per sample) in batches. Say we decide to run in 4 ba... |
I am new to machine learning. I would like to know how correctly interpret scikit-learn's f_regression values, in order to perform a good feature selection (I'm using f_regression as score function for SelectKBest()).
More precisely: Is a feature with a high value always better than one with a lower value? How should I... |
I'm having trouble researching this, or even writing this question, because I'm not sure what this is called and I'm not familiar with a lot of the terminology. The best I can do is an example.
Let's say my data set consists of the tags on every question on Stack Overflow. So I have:
14,000,000 samples.
Each sample co... |
I have a data set with approximately 150 observations. The data is measured to the nearest tenth. However, a few points on the left are measured as <50 and one on the right as >650. What is the best way to handle these observations if I want to estimate the mean?
|
In multiple linear regression, the correlation matrix of predictors already clearly indicates the strength of correlation between any two predictors. Why do we use any other tools, such as VIF, to check the existence of multicollinearity?
|
On homework assignment I was asked to match different r values (namely $1$, $0.7$, $0.4$, $0$, $-0.4$, $-0.7$, $-1$ and "r value not defined") with some graphs. Among the graphs there were funny looking ones (can be found below) and the "weird" shape, I think, hints at the "not defined" option.
Are the r values really... |
Consider the case when someone starts with a random number $X$, then generates consecutive numbers by the recurrence relation $X = X + 1$.
The measure-theoretic approach of probability states that if $X$ is a random variable on $\Omega$, and $f: \mathbb{R} \rightarrow \mathbb{R}$ is a Borel-measurable function, then $Y... |
So say I'm dealing with M&M. I have 5 M&Ms and one of them is yellow. I want to know if the true proportion of M&Ms in the entire bag is 10% or 20%.
In the frequentist approach, my hypothesis would be:
H0: P = 10%
H1: P > 10%
However, in the Bayesian approach, I would say:
H0: P = 10%
H1: P = 20%
Philosophically, why ... |
I have ten years of data, which I have averaged. Is it possible to calculate the probability that a future point will be less than a threshold based on my data?
For example, say the average is 0.065. How can I calculate the probability P that a future data point will be less than 0.1? I am looking at daily data points,... |
In GLM, it seems logistic regression is related to Bernoulli Distribution. How are they related mathematically?
|
I'm having great difficulty understanding how selecting a stopping point alters the sampling space in the example below. Specifically, why is the probability of 5 successes and one failure different (3^5/4^6) when one decides to stop with an incorrect guess as compared to when one allows 6 guesses irrespective of outco... |
This is a definition question. In the standard normal regression model
$y_i=a+bx_i+e_i$
where $e_i\sim N(0,s)$, $a$ and $b$ are fixed effects and $e_i$ is a random effect. So is this a mixed model? Or $e_i$ is not considered a random effect? This page
says that random effects are estimated with partial pooling, so is ... |
I'm doing a matched sample evaluation to see if there is a statistical difference in graduation rates at a college for total sample and sub-groups within the sample after a policy change intended to increase graduates. It seems to me that because it's a dichotomous, nominal depend. var., McNemar is appropriate because... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.