instruction stringlengths 9 38.7k |
|---|
I need to do a model with a generalized linear model.
My data are these: habitat : 0 or 1, group : 1 or 0 , mortality : yes or no, and the numbers of individuals for each case (habitat, group and mortality are factors).
My model is
glm(moratily~indiv+habitat+group,data,family=binomial(logit))
I want to see the influen... |
Someone asked me if I did out-of-time testing (which I assume is just out-of-sample testing but with a timeline element). But if I have a test set, is that not essentially the same as out-of-sample testing?
Doing an extra out-of-sample testing would basically equal to getting an additional test set and applying my ... |
Flipping a fair coin 21 times. The probability of getting 8 heads in any order is
$$p = \frac{21!}{8!(21-8)!}0.5^8(1-0.5)^{21-8} = 0.097$$
I get that the Binomial formula takes into account the different sequences in which the heads can occur during the 21 flips. But in any case, I would at least had expected the Binom... |
I had a recent question which I probably should re-formulate to a more general one.
I came across this: Using scatter plots to understand multiple values of Y for a given X and thought the accepted answer was very good, but what's unclear to me is: given a nasty scatter plot, how would you visually get the idea what so... |
I am trying to simulate a selection model for a variable $Y$ dependent on covariate vector $X$, so that two groups/sub-sets $S=(0,1)$ of observations on $Y$ are created, which have a fixed difference in expectations (means) $\theta$ (i.e., selection bias) $$E(Y|S=1)-E(Y|S=0)= \theta$$
I am looking for solutions to app... |
I am working with abiotic soil data such as bulk density, moisture levels and soil chemistry as response data (some quantitative some as percentages) and a mix of abiotic and biotic data as environmental data. To compare different sites I want to use multivariate statistics. For this PCA is an accepted method in this f... |
I'm testing different ways to fit a simple power model to a dataset of 5 points.
I don't get same results if I use nls on non-transformed data or lm on log10 transformed data in R whereas Excel gives exactly the same results (it's power fitting might be a hidden linear fitting on log transformed data).
Here is an exam... |
Does anyone know an R package for nearly orthogonal designs?
I would like to create an experimental design, using 12 runs, up to 10 factors, and with mixed levels (e.g. a combination of 2 and 3 level factors). I would like to explore some nearly-orthogonal designs.
There are lots of packages for orthogonal fractional d... |
I'm working on a prediction model for a continuous variable (amount of medicine injected) .I use R for modeling.My project flow is to multiply the prediction of a glm (logistic regression) model that is used to predict 0/1 if a medicine was injected at all with an lm (linear regression) model that is used predict amoun... |
Is it true that when there's no significant difference between groups then there will be correlations between groups?
My situation is as follows: I have a sample that was measured using two instruments $A$ and $B$. $A$ and $B$ are both questionnaires for measuring usability.
I compared data from $A$ with data from $... |
In determining if there is any serial correlation in a time series of count data, is the Durbin-Watson statistic or similar approaches appropriate?
I ask this question because the dwtest implemented in R can take an lm object as an input, but my time series comprises count data, which can be approximated by a negative ... |
I have a very large number of true/false questions. I want to take a sample of these questions and use them to test a subject. I would like to infer the proportion of questions out of the larger set that the subject will answer correctly, based on the number the subject answered correctly in the sample.
Would it be a v... |
I have fitted a mixture of 3 normal distributions to my log-transformed data Y, as the package I'm using cannot fit a mixture of lognormal distributions.
My questions is: how I can convert pdf from 3 normal distributions into lognormal pdf?
Thank you.
|
Given some fixed vector $\mathbf{x}_0\in\mathbb{R}^d$, I want to put a prior on a random variable $\mathbf{x}\in\mathbb{R}^d$ so that "it's not very close to $\mathbf{x}_0$". For the moment I put a Cauchy prior on $\mathbf{x}$, which is
$$
\mathrm{pdf}(\mathbf{x};\mathbf{x}_0,\mathbf{a})\propto\frac{1}{(1+\|\mathbf{x}-... |
Random Forest Usage:
I have run random forest in R. It gave me confusion matrix and variable importance. Variable importance can be used to rank importance of variables in the model. My question is how i can use random forest for classification, like decision tree. I have also run decision tree. It gave me RULES to cl... |
I am working on developing a model with a binomial response variable. My data consist of GPS points from tracked animals. The data set is large and contains 15,000 observations from 40 individuals. I would like to develop a GLMM in R that allows for inclusion of 1) the binomial response, 2) random effects, and 3) eithe... |
I have run a multinomial logistic regression test for the interaction between species of deer, days a camera trap was in the field and type of reaction.
The model with the best AIC value was:
Coefficients:
(Intercept) speciesmuntjac speciesroe speciessika days
r -0.7471023 0.6263753 -0.005967869 -0... |
Let's say I have a population stratified by gender and age group. Having their proportions, how should I choose the sampling units for interview? How do I ensure the defined quotas are met?
If the interviewer, for example, have already achieved quotas for males, should it refrain to interview a 85+ years old male, so h... |
Let $Z \sim N(0,1)$ and let $Y=Z$. Suppose I wish to perform the following weird computation:
$f(z)=\int f(z|y)f(y)dy=E_Y[f(z|y)]$
and then use Monte Carlo to estimate $E_Y[f(z|y)]$. The problem is for a fixed $z$, the $y$ is draw is almost never equal to $z$, and so $f(z|y)$ is almost always zero, and so my Monte Carl... |
I have run a multinomial logistic regression test for the interaction between species of deer, days a camera trap was in the field and type of reaction.
The model with the best AIC value was:
Coefficients:
(Intercept) speciesmuntjac speciesroe speciessika days
r -0.7471023 0.6263753 -0.005967869 -0.7... |
I am working with an hourly dataset of air temperature, recorded at ~200 stations over a relatively small area. I chose a space-time variogram (e.g. sum-metric) to fit my data and am now trying to make predictions over my same stations in order to fill NA (missing value) gaps. When using the krigeST() function over dai... |
I am working with an economic optimization model which attempts to model the dynamics of a certain commodity market (prices, quantities, production etc.) for different frequencies (monthly, quarterly, yearly). The model works well in many respects, but one can see that the model output of the price is systematically wr... |
If we regress the choice on some cost variables, then how would you interpret the meaning of the coefficients?
In this paper published in American Economic Review, link: http://economics.mit.edu/files/4513
Based on the estimation results in table 1, authors conclude that "individuals are willing to pay over $300 for fu... |
I'd like to perform logistic regression with some categorical explanatory variables with more categories than just binary 0/1. Is this possible and why?
I am inclined to think that this would give just the wrong result because of the geometric intuition, however most opinions online say that explanatory variables can b... |
I'm working with data from an instrument which is expected a priori to produce Gaussian (normally) distributed data:
\begin{equation}
G = A\exp\left(-\dfrac{(x - \mu)^2}{\sigma} \right)
\end{equation}
The data are normally sparse, with only about 2-3 measurements representing each $G$. In this question, I'm focussing o... |
I have a follow up question to MånsT's reply to the "When should you center your data & when should you standardize"-question. ( I cannot leave a comment as I am below the magic "50 reputation".) He says that
In addition to the remarks in the other answers, I'd like to point out that the scale and location of the expl... |
I'm trying to find the p-value from an exact paired permutation test. For small samples it works fine:
> library(exactRankTests)
> n <- 1000
> perm.test(runif(n, 0.9, 1),
runif(n, 0.8, 1),
paired=TRUE, exact=TRUE)$p.value
[1] 2.907099e-116
but for bigger samples it gives exactly 0:
> n <- 1500
... |
I am hoping to compare the sample mean of an experimental group to the sample mean of three control groups.
Here is some context for the study:
The experimental group consists of ~60 persons with a particular criminal record who were afforded various rehabilitative services. For each person, I have a count of their nu... |
I am trying to plot a histogram of my data, and I seem to be a little confused here. I am using matplotlib in Python. Here is the code from their website:
mu = 100 #mean
sigma = 15 #std deviation
x = mu + sigma * np.random.randn(10000)
# the histogram of the data
n, bins, patches = plt.hist(x, num_bins, normed=1, face... |
I'm trying to use Brewer's method to sample 12 units out of a population of 73.
I read on Brewer and Hanif's "Sampling with unequal probabilities" that the probability must be proportional to $$\frac{P_i (1 - P_i)}{(1-rP_i)}$$.
I know that for $n = 2$ the first unit is selected with probability $$\frac{P_i (1 - P_i)}... |
This is a follow-up question to Is PCA appropriate for comparing subsets of panel data?.
It turns out that, yes, PCA is appropriate. But there are also many other ways to reduce n-dimensional data to 1-3 dimensions that can be visualized, and I'm having trouble getting a global view of the available set of techniques f... |
I have two different medical diagnostic tests, both test the same condition (binary outcome). The condition in question is rather vaguely defined, so they don't always agree. What would be the best way to quantify the "degree of concordance" between the two tests?
|
On page 19 of the textbook Introduction to Statistical Learning (by James, Witten, Hastie and Tibshirani--it is freely downloadable on the web, and very good), the following is stated:
Consider a given estimate $$\hat{Y} = \hat{f}(x)$$ Assume for a moment that both $$\hat{f}, X$$ are fixed. Then, it is easy to show th... |
I'm quite new to machine learning and a bit unsure about the whole process and the interpretation of the results.
The Task:
I have images with some objects of somewhat the same color and shape which overlap and I want to segment the single objects using machine learning to get the edges of adjacent objects.
Current pro... |
Using caret, I want to train a SVM classifier and estimate its performance using repeated cross validation. My dataset has a very large number of predictors (300K) and I want to reduce this number using a super simple univariate approach (like t-test p-value below a threshold - or two-class anova is fine too). If I w... |
What do the vertical bars mean in the first and third formulae?
$$v_i|z_i=k,\mu_k\sim\mathcal{N}(\mu_k, \sigma^2)$$
$$P(z_i=k)=\pi_k$$
$$\pi|\alpha\sim \text{Dir}(\alpha/K1_K)$$
$$\mu_k\sim H(\lambda)$$
This formula is originally from here.
|
I have two sets of hazard ratios (with confidence intervals), one comparing risk of developing a cancer between current smokers and never smokers, and another comparing former smokers to never smokers. I do not have the raw data. Is there a way to use this information to create a hazard ratio comparing current smokers ... |
I would like to know if it is possible to convert a normal distribution into a triangular distribution. If it is, how it can be done?
I know the mean and the coefficient of variation of the normal distribution.
|
I am building a multivariate regression model and trying to use the model to predict a High, Medium, and Low estimated outcome for each individual in a group of people. I am using the 95% confidence interval to get the High/Medium/Low estimates. This means constructing a High, Medium, and Low estimate for each variable... |
I have very little knowledge of time-series analysis (despite my stat master - didn't do anything else than an introductory course) but now I'm facing a statistical problem whose answer is this very kind of analysis - so would really need a helpful hand.
In a nutshell, I have account monthly sales. In only some of them... |
My name is Abhi and I trying to teach myself logistic regression by solving some of the problems available on the internet. I am using R and RStudio as the development environment
Problem Statement
Given the age, sex, class(first,second,third), ticket_id for each passenger can you predict if he survived or died when t... |
I found an equation that says the standard error of the sampling distribution of the mean is:
$$\sigma_{\bar{X}} = \sigma \cdot \sqrt{\frac{1}{n}-\frac{1}{N}}$$
And when the population size is very large, the factor $1/N$ is approximately equal to zero; and the standard deviation formula reduces to:
$$\sigma_{\bar{X}} ... |
I have two questions about output of hierarchical clustering and improving the output.
I'm trying to learn more about performing hierarchical clustering in R so I started looking at a simple dataset I created of sushi rolls at a local restaurant. I went though every roll on the menu and created a distinct list of the u... |
I'm trying estimate an autoregressive model with an exogenous variable. It's about the impact of changes in oil prices on the economy. I'm planning on regressing gdp growth rate on its own lagged values and lagged values of oil price.
I don't know from where to start. Here's what I think so far:
I should check if t... |
I am currently trying to fit an AR model to some financial data. The time series $Y_t$ in levels is clearly non-stationary; however it appears the first differences $dY_t$ are stationary (and this is backed up by the Augmented Dickey-Fuller test). I have therefore determined the order $p$ of the AR model using $dY_t$.
... |
So I always understood the error term to be the difference between the observed value from the true, yet unobservable, function value. However, I often here, especially related to the economics fields, articles and people talking about error terms as 'shocks'.
Can anyone offer an intuitive, non-math intensive, explana... |
Suppose a predictor variable $x$ is nominal/categorical with three levels: $1,2,3$. Thus we create two dummy variables $x_2$ and $x_3$ with level $1$ as the reference variable. Let $y$ be a binary response variable.
Then a logistic regression model could be: $$ \text{logit}(p) = \beta_0 +\beta_1 x_{2} + \beta_{2}x_{3}$... |
I have been reading lecture slides about Dirichlet Process.
In page 22, there is a picture about the following finite mixture model.
$$\phi _{k}\sim H\\
\pi \sim Dirichlet(\alpha /K,\dots,\alpha /K)\\
Z_{i}\rvert\pi \sim Discrete(\pi )\\
x_{i}\rvert\phi _{z_{i}}\sim F(\cdot \vert \phi _{z_{i}})$$
I know the meaning of... |
I was asked how much I know of "empirical regression." I have never heard the expression. A web search yielded nothing useful. I suspect it is a term coined by someone to refer to some ad hoc procedure which might be known by other name.
Has anyone have a reference?
|
How can I perform a two sample test of means with unequal variances for a very large sample in R?
In case of large samples the statistic will asymptotically follow a normal distribution.
Which R function will help me to do this?
|
In detail, I have these relations (in order of causality):
$u_1 = ax_0$
$x_1 = u_1 + x_0$
$y = x_1 + w$
where $w = N(0,1), x_0 = N(0,\sigma^2)$.
This was my approach:
I know the distribution of $x_1 = N(0,(1+a)^2\sigma^2)$ and I know $y = N(0,(1+a)^2\sigma^2 + 1)$
The expectation to find is: $E[x_1|y]$. What I'm unabl... |
I have two Cox proportional hazards models (in R), using same outcomes and predictors, one for $n_m$ males and one for $n_f$ females. Is it possible to combine them into one equivalent model over all $n_m+n_f$ individuals, using for example an interaction between the predictors and the sex?
For example, this doesn't wo... |
Is there a comprehensive list of distributions, e.g. gamma, Poisson, Gaussian, and when you should use each somewhere? My internet searching has been fruitless.
|
I have a survey data which has one dependent variable ("Overall experience") and several independent variables(Quality of food, creativity of menu etc.). The response scorecard for both dependent and independent variables are as follows:
Excellent 5
Very Good 4
Good 3
Fair 2
Poor 1
As per my u... |
I have two questions regarding the following 2x2 contingency table:
1, How can I derive the maximum likelihood estimate of the odds ratio ($OR = (a*d)/(c*b)$)
2, How can I derive exact confidence intervals (not wald normal approximations)
It is my understanding that a distributional assumption must be made, i would ha... |
How to transform a normal random variable such that I can simulate normal samples between the range of 1 and 45?
Do I need to do a jacobian transformation ?
|
I know that one can use Seemingly Unrelated Regressions when for an observation i, there are two equations whose errors are connected.
What is the intuition here among errors of difference equations have some sort of relationship? In the SUR case, is it simply because unobservable factors (say, for example, general at... |
I would like to estimate the mean of a population and select a best estimator with minimum variance of the estimated mean. Suppose that I have two estimators est1 and est2, and they could refer to any type of sampling design, such as simple random sampling, stratified sampling, unequal probability sampling, etc. Here i... |
I have a survey analysis data which has responses regarding Consumer Satisfaction (on a scale of 1 to 5)and I am trying to fit a linear regression model to it. As per my understanding, the basic assumption for linear regression is that the independent variables must not show significant correlation.
In my case however,... |
I need to prove that the limiting distribution of $(n-1)S^2/\sigma^2$ is a Normal, where $S^2$ is the sample variance.
However, I have no clue on how to do it.
We know that $(n-1)S^2/\sigma^2 \sim \chi^2(n-1)$, however, I'm not even sure this fact can help me...
Any help would be appreciated
EDIT:I needed to add some i... |
I am trying to perform a Collaborative filtering for recommendation of products to customers in fashion industry.I am using the usual KNN approach to bring similarities among products.
I have seen people using SVD(Singular Value Decomposition) before opting for collaborative filtering , but all of those seemed to be de... |
I keep reading about the need to check for autocorrelation in MCMC. Why is it important that the autocorrelation is low? What does it measure in the context of MCMC?
|
I would like to test if they are distributed according to an exponential distribution. I can apply the Kolmogorov-Smirnov in python using scipy.stats.kstest(data, 'expon') .
However, I assume I have to normalize my data somehow first. Otherwise it is comparing it with an exponential distribution with unknown rate $\l... |
In Gaussian Process (GP), the kernel (co-variance function) is used to measure the similarity between one point and a given point. There are so many kernel functions for GP, and I wonder how to select a suitable kernel. For instance, if my time-series data are not periodic, should I choose the Squared Exponential (SE) ... |
I fit two gee models with two different correlation structures, exchangeable vs ar(1), which resulted in very different p.values. I'm wondering what reasons have led that. Would somebody offer an explanation?
> summary(fit1)
Call:
geeglm(formula = LAU ~ SAMPLENO, data = bd, id = MAGE, corstr = "exchangeable")
Coeffi... |
Let $x_t, \, t=1, \dots ,T$ be a time series and suppose that $x_t | \xi_t \sim N(\mu_{\xi_t},\sigma^2_{\xi_t})$, where $\xi_t \in [1, \dots,K]$ is a group indicator (or regime or state), the parameter of the normal distribution depends on the value of $\xi_t$ and we suppose that $P(\xi_t=k|\xi_{t-1}=j) = \pi_{jk}$. I ... |
My name is Abhi and I am trying to teach myself regression by solving some practice problems available on the internet. I am using RStudio as my development environment.
Problem Statement
Given the age, sex, class(first,second,third), ticket_id for each passenger can you predict if he survived or died when the titanic... |
I am new to statistics.
After an MCMC sampler warmed up, the posterior is better estimated as the mean of several samples. (e.g. related question: https://stats.stackexchange.com//questions/56077)
However, in my MCMC sampler, after it reaches the equilibrium (because $\hat{R}=1.0$ in Stan), samples of the parameters st... |
I have come across something that has got me kind of confused, I hope someone can help me out.
I did a mixed ANOVA with one within subjects factor with two levels 'time' and one between subjects factor 'group'. It was a comparison between a positive group and a negative group on scores pretraining and posttraining.
Th... |
I'm looking for a text to help someone who uses GLMs in practice become familiar/comfortable with GAMs. Online or physical textbook would be fine. I am approaching this as a practitioner, so I would prefer practical to theoretical, but I'm confident I have the background to digest a more theoretical text if it happen... |
Let $p$ be probabilities and $D$ is the real
How can I proof that the areas
$$\int p \; d F_{p}(p|D=1) = \int (1-p) \; d F_{1-p}(1-p|D=1)$$
are equal. Where $F_{p}$ is the empirical distribution function of $p$.
Illustration:
par(mfrow=c(1,2))
set.seed(123)
predRisk <- plogis(runif(1000,-1,10))
plot(ecdf(1-predRisk))
p... |
I am trying fit different kernels to calculate similarity matrix in R. Here is example data - X matrix :
X <- matrix(rep(0,200*1000),200,1000)
set.seed(123)
for (i in 1:200) {
X[i,] <- ifelse(runif(1000)<0.5,-1,1)
}
What kernels can be used to generate a similarity matrix and how can I do this in R ?
|
I'm having trouble understanding what exactly Type III test statistic does. Here is what I got from my book:
"Type III" tests test for the significance of each explanatory variable, under the assumption that all other variables entered in the model equation are present.
My questions are :
What exactly does "other va... |
I made this linear regression that shows how well estimated animal locations (longitude) predict actual animal locations.
estimate <- c(-1.514276, -1.513683, -1.514253, -1.514207, -1.513557, -1.513634, -1.513870, -1.511210, -1.511552, -1.511772, -1.511580, -1.511802, -1.509500, -1.510037, -1.510214)
actual <- c(-1.51... |
Suppose that we have 2 sets of data $X = x_1, \dots, x_n$ and $Y = y_1, \dots, y_m$ and a test $T$ that tests the null hypothesis that these data come from a distribution with the same median. $T$ can be for example the Mann-Whitney U test or the Wilcoxon signed rank test (if we have paired data). In programming terms ... |
I am working on fitting a GEE model to a multinomial logistic outcome using the R package geepack. My understanding is that the package uses glm to fit the formula. However, from what I can see, glm doesn't have a family for a multinomial outcome, just binomial. How do you go about fitting a multinomial logistic equati... |
Does anyone have experience in dealing with data imputing in questionnaires? I have a table representing people's preferences in clothes. Some of values I already have but others are missing and I'd like to make some type of imputing.
Does anyone have papers containing substantiation of using some particular imputing a... |
The data I'm looking at is concerned with percentages of people who would recommend a hospital.
E.g.
NOT PROBABLY DEFINITELY FREQ
hospital_1 10.0 80.0 10.0 100
hospital_2 20.0 50.0 30.0 200
We'd like to do the analysi... |
I have been doing some reading about gage R&R and I have a simple application for it. I will be using ANOVA for performing my gage R&R. From my standpoint, most people seem to be using gage R&R to determine the relative contribution that various sources make to the total variation. However, when I read about ANOVA I us... |
Regression models (at least up to GLMs) do not traditionally require stationarity (although the requirement for the residuals is even stronger than stationarity).
ARMA-style time series models seem to always require stationarity. What other models always require stationarity?
Vague area: Using a linear regression y ~... |
I am looking for a kernel as low pass filter that satisfy as follows:
In the my reference paper, the author suggest gaussian kernel that is
The gaussian kernel is very good to approximate that properties. But the kernel reduce edege information when kernel size is big. Could you suggest to me any kernel that can stat... |
I am trying to perform a multivariate analysis using R and as I have a ecololgical dataset of categorical data only, is it possible to use PERMANOVA on this type of dataset?
Thanks
|
I am new in survival analysis. I have been taught that you analyze using survival because you have a special dataset: one with censored data. And that if I work only with not censored data, I can have severe bias.
But now, when working with a dataset collected for a survival analysis, I am required to crosstab some dic... |
I'm running a logistic regression (N = 15000) and the percentage accuracy in classification (sensitivity) of the model with predictors included = 0 (the SAME as the constant model without predictors). Meanwhile the specificity remains unchanged from the constant model to the model with predictors (both 100%).
I start ... |
When conducting an intervention analysis with time series data (aka Interrupted Time series) as discussed here for example one requirement I have is to estimate the total gain (or loss) due to the intervention - i.e. number of units gained or lost (the Y variable).
Not entirely understanding how to estimate the interve... |
I was reading an article on a power analysis and sample size calculations for a class of models that known as joint longitudinal-survival models. The paper derives a closed form formula for power and sample size calculation. This paper is a frequentist paper in a sense that it assumes parametric assumptions and based o... |
I am used with linear models. I can see rising use of kernel based method particularly in machine learning.
The following is an example Gaussian kernel using gausspr function from the R package kernlab. The function is an implementation of Gaussian processes for classification and regression.
require(kernlab)
x <- seq... |
I'm aware of several related questions here (e.g., Hypothesis testing terminology surrounding null, Is it possible to prove a null hypothesis?) but I don't know the definitive answer for my question below.
Suppose a hypothesis test where we want to test whether a coin is fair or not. We have two hypotheses:
$H_0: p(hea... |
I'm trying to create a regression model for a dynamic pricing system that looks to maximize revenue. The problem that I'm having is that the system in place before (which is the source of my data) involved the owner deciding where to price things based on his own personal expectations of demand. Thus, when trying to te... |
I'm getting more experience in building predictive models like trees and random forests, but most of my experience is using data that is basically single observations (rows) with many variables (columns). How do I deal with making predictions about things that could potentially have a variable number of objects inside ... |
I have estimated a Partial Credit Model in Stata following Zheng, X. and Rabe-Hesketh, S. (2007) "Estimating parameters of dichotomous and ordinal item response models using gllamm".
I'd like to compute Item Information Curves but I can't figure out how to do it from what I found in Google or in other StackExchange pos... |
In short: suppose I have observations for times taken to do some action. I want to estimate, how long will it take to complete a sequence of actions. The estimate should minimize the mean absolute error (L1 norm).
===
Details:
I have observations for positive, non-identically distributed RV $x_i$, it can be assumed t... |
I realize this might be a too general question, so I'll describe what I'm doing right now first.
I'm working for a virtual insurance company and I have this dataset. It has severity (meaning payment/number of claims), type of car, gender, marital status, age of car, risk type (high and low), company name (ours and oth... |
As per Wikipedia, I understand that the t-distribution is the sampling distribution of the t-value when the samples are iid observations from a normally distributed population. However, I don't intuitively understand why that causes the shape of the t-distribution to change from fat-tailed to almost perfectly normal.
I... |
The other day, my tutor told me that whenever a mean value is reported, the standard error of the mean must be reported alongside. But surely this isn't always the case? For example, let's say we calculate the mean number of goals a football team scores per game across a season. We're not sampling from a population in ... |
I am trying to model a number of point processes for which I have data. If I choose to model each one using a (different) homogeneous Poisson process and estimate the rate using MLE then for some of the processes the goodness of fit is quite good. However for others it isn't and when I plot a histogram of the interarri... |
I am unsure which statistical test I should use to test whether two datasets are significantly different. The data looks something like this:
Group Dataset 1 Dataset 2
A 5 6
B 1 7
C 2 10
D 1 15
E 4 11
F 1 5
G 2 17
H 2 10
I 3 19
J 1 6
K 14 67
L 13 38
M 3 16
N 14 5... |
I am trying to implement Beta-t-EGARCH model in R, however, I fail to understand what is the unconditional variance of this model. I know for simple GARCH model, unconditional variance is
ARCH0/ (1-ARCH1 - Beta1),
but what I have read for Beta-t-EGARCH model the unconditional variance is equal to $\frac{\omega}{1-\phi... |
I am trying to use SVM to make a prediction (True or False) on a dataset with many independent variables. I am wondering how I can identify the most useful variable in making the prediction. I understand that there is a function that allows me to calculate the "weights" of the variables in R package e1071.
w=t(model$... |
This question probably has a simple solution, still the thing is I've written a code to plot mortality in 2 different groups and that is, death in obese patients vs not obese. Now their are 2 groups t1 and t2 (obese vs normal BMI). The graphs works just fine with this code, I'ts just that I wanted the lines to look sm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.