instruction stringlengths 9 38.7k |
|---|
What is the purpose of working on a logit scale in partial dependence plots (in binary classification)?
One could simply go about as follows:
Grow a forest
Suppose x has v distinct values in the training data set. Construct v data sets as follows. For each of the v values of x make up a new data se where x only takes ... |
When modeling rare events with logistic regression, oversampling is a common method to reduce computation complexity (i.e., keep all the rare positive cases but just a subsample of negative cases). After model fitting, adding a offset to the intercept term is a common method to correct the event probability to reflect... |
Consider random variable $X$ with continuous, increasing CDF $F_X (x)$. Let $W=F_X (X)$. Characterize the distribution of $W$.
I get $F_W (w)=\mathrm{Pr}(F_X (X) \leq w)=\mathrm{Pr}(X\leq F_X^{-1}(w))=F_X(F_X^{-1}(w))=w$
Can I just impose that $w=1$ and say this is a degenerate distribution? That seems off to me becaus... |
For this example, I have 4 different events a ... d, each with a different probability of occurrence.
My sample space is the following: {a a b b b b c c c d d d}
p(a) = 2/12
p(b) = 4/12
p(c) = 3/12
p(d) = 3/12
Samples are drawn one at a time without replacement. As soon as a particular event is drawn, all other identic... |
I am told the following proof is incorrect, but I cannot understand why.
Consider $X_{(1)}, \ldots, X_{(n)}$ are the order statistics of a random sample of size $n$. I want to show that the order statistics are sufficient. So I wrote down:
$$P(X_1, \ldots, X_n|X_{(1)}, \ldots, X_{(n)})= \tfrac{1}{n!}$$
as given the ... |
The weights of pennies minted after 1982 are approximately normally distributed with mean 2.46 grams and standard deviation 0.02 grams.
What is the probability that in a simple random sample of 10 pennies minted after 1982, we obtain a sample mean of at least 2.465 grams?
I found out that the answer is 0.2148, but I d... |
I have had a look around the forum, and despite some similar questions on measurement error, no one appears to have asked this question specifically.
I have developed a test where a small group of participants $(n = 40)$ have undertaken three trials each of the test in total. See the two attached figures for an exampl... |
I do a linear regression using R lm function:
x = log(errors)
plot(x,y)
lm.result = lm(formula = y ~ x)
abline(lm.result, col="blue") # showing the "fit" in blue
but it does not fit well. Unfortunately I can't make sense of the manual.
Can someone point me in the right direction to fit this better?
By fitting I mean ... |
I am working on an assignment for a Stochastic Modeling class and am stuck on the following question:
Let $X$ have probability mass function $p_j = P \lbrace X = j \rbrace $ for $j \geq 1$. Let
$\lambda_n = P \lbrace X = n|X > n − 1 \rbrace = \frac{p_n}{1-\sum^{n-1}_{j=1} p_j}$.
The quantities $\lambda_n$, $n \geq 1$ ... |
I've used exponential distributions to estimate maximum-entropy probability distributions before.
Is there an analogue to the exponential that is restricted to integers? If so, does anyone have pointers to closed-form estimators for that distribution?
|
I'm trying to estimate a joint probability density function in a quite high dimensional space (around 15 or even more).
I've heard about Dirichlet process methods to do this kind of things. Do you know a good paper/phd thesis/book to learn about this ?
Thank You for your help
|
I had trouble coming up with a title, so hopefully I can explain it better here.
I'm working on a classification problem and I'm doing some pre-analysis of variables. I'm looking for some nice ways to visualise the distribution of the target variable within each independent variable.
As an example for categorical varia... |
Is there any way to estimate the bias of the estimate of the betas in a linear regression model when the actual beta values are unknown?
The well known Mean Square Error (MSE) criterion is used to quantify the performance of different biased estimators but to calculate the bias you need to know what the correct value o... |
I have a feature x, that I use to predict a probability y.
Some background on (x,y)
I can't go into too much details, but hopefully the following should be enough to explain what x and y are, at least conceptually [square and circles are NOT the actual label I am working with]:
y
y is the probability of an image being... |
I am an epidemiologist trying to understand GEEs in order to properly analyze a cohort study (using Poisson regression with a log link, to estimate Relative Risk). I have a few questions about the "working correlation" that I would like someone more knowledgable to clarify:
(1) If I have repeated measurements in the sa... |
I have a multi-class short text classification task with a minor wrinkle: I'd like to also detect when the texts don't fit any of the classes well. I've tried to do it by simply adding unrelated texts into a separate class and learning an SVM, but with little success so far. Unsurprisingly, since 1) there are very many... |
I'm reading "The theory that would not die" by Sharon Bertsch McGrayne (Fine book. Strongly recommended to everyone). The author says that bayesian inference has been used for ballistics applications at least three times in the last three centuries:
1) By Joseph Louis François Bertrand (http://en.wikipedia.org/wiki/Jos... |
The scatter matrix is defined as
$$S = \sum_{j=1}^n (\mathbf{x}_j-\overline{\mathbf{x}})(\mathbf{x}_j-\overline{\mathbf{x}})^T$$
The trace (sum of the diagonal elements) of this matrix is equivalent to the overall sum of squares.
Each element $s_{jj}$ of the diagonal is equivalent to the sum of squares (of deviation... |
Why is it necessary to place the distributional assumption on the errors, i.e.
$y_i = X\beta + \epsilon_{i}$, with $\epsilon_{i} \sim \mathcal{N}(0,\sigma^{2})$.
Why not write
$y_i = X\beta + \epsilon_{i}$, with $y_i \sim \mathcal{N}(X\hat{\beta},\sigma^{2})$,
where in either case $\epsilon_i = y_i - \hat{y}$. I've se... |
Suppose I am given a possibly biased coin, which turns up heads an unknown fraction $p$ of the time.
Initially I flip the coin 10 times (e.g. generating data = TTHTTHHTHH).
Next, I have to flip the coin repeatedly until I get 2 heads in a row. Let the number of flips I perform before getting 2 heads in a row be $F_{H... |
I have 1000 computers and 2 have failed with a specific code bug. They all are exposed to the bug, because they all have the same code running. Just using those numbers, is the probability of the failure event 2/1000 ?
|
Using the KNN classifier, given a test data-point $x$, how do we get the probability of membership of $x$ to each class $y_i$, that is the probabilities $P(y_i | x)$ for $i = 1, 2, .., n$ (where $n$ is the number of classes).
|
I am currently working on sentimental analysis of twitter data for one of telecom company data.I am loading the data into HDFS and using Mahout's Naive Bayes Classifier for predicting the sentiments as positive,negative or neutral .
Here's is what i am doing
I am providing training data to the machine (key :sentiment,v... |
Below, using R, I:
1. Create a data set with a bunch of factors. All of them are predictors and 'y' is the dependent variable.
2. I run a classification Random Forests for y with predictor importance. I look at 2 measures of importance - MeanDecreaseAccuracy and MeanDecreaseGini
3. I run 2 boostrap runs for 2 Random Fo... |
At the most rudimentary level, how is a fixed effects model equal to first differencing, and how is first differencing equal to the regression
$$\text{Outcome}_{it} = α_1 + α_2\text{Treat}_i + α_3\text{Post}_t + β(\text{Treat}_i\times\text{Post}_t) + ε_{it}$$
Where $\text{Treat}_i$ is a dummy which equals 1 if individ... |
I want to model counts as being dependent on two nominal variables, one continuous variable (all as fixed effects) with 3rd-order interactions and one grouping variable (as random effect). However, I have an overdispersion in outcomes (I used the glmer function from lme4 library). How should I manage this? I have found... |
I have ~400 individuals and >10k timepoints each (simulation results) I would like to be able to monitor as they change over the course of time. Plotting all individuals is too messy, plotting mean +-sd, min/max, or quantiles is too little information for my taste. I am wondering what other people have come up with to ... |
Hadley Wickham wrote a stellar article called "Tidy Data" (link) in JSS last year about data manipulation and getting the data into an "optimal" condition in order to perform analysis. However, I was wondering what were best practices in terms of presenting tabular data in a work setting? Let's say your coworker asks y... |
I have a 4-dimensional function $F(a,b,c,d)$ which I need to optimize (find the minimum) Each of the 4 parameters of my function $(a,b,c,d)$ are made to vary in steps over a range, so each one can take only a certain finite number of values:
$a:\{a_1,a_2, ...a_A\}\,;\, b:\{b_1,b_2, ...b_B\}\,;\, c:\{c_1,c_2, ...c_C\}\,... |
In considering (for example) homicide rates reported annually for each country, it occurs to me that the U.S., being larger in population, might thereby be expected to have a rate closer to the worldwide mean.
However, I don't know how to evaluate that idea quantitatively. What kind of additional data (if any) and calc... |
How can I show that the geometric mean $( \prod_{i=1}^{n} x_i )^{1/n}$ of a random sample of size $n$ from a distribution with pdf $f(x;\theta)=\theta x^{\theta-1},0<x<1,$, zero elsewhere, and $\theta>0$ is a sufficient statistic for $\theta$?
By the Factorization Theorem we can see that:
$$\prod_{i=1}^{n} f(x_i;\thet... |
After making some variable transformations, I chose this model because I works well with the assumptions and gives the largest R-Squared and the smallest Overall MS in cross-validation between a set of linear models.
> gn<- lm(NA.~ I(PC^0.25) + I(((PI)^2)),data=DSET)
> summary(gn)
Call:
lm(formula = NA. ~ I(PC^0.25) +... |
As for the title, the idea is to use mutual information, here and after MI, to estimate "correlation" (defined as "how much I know about A when I know B") between a continuous variable and a categorical variable. I will tell you my thoughts on the matter in a moment, but before I advice you to read this other question/... |
I have 5 variables for each countries of the world and I need to analyze their effect and interactions on an independent variable.
Random Forest would be adequate for my scope as it deals with non-linear relationships and predicts variables importance. However, I'm wondering if spatial dependence may be an issue. I've ... |
The question is self-explanatory. I have survival data (n=156) which, in about half of the observations, is right-censored or interval-censored. I'm am using R to do the analysis and I know I can use intcox() and survfit() to deal with interval-censored data. But, in my point of view, none of this functions can deal wi... |
I am a little confused as to which model specifications to use for my question.
I have number of technological failures (positive count variable) as dependent variable but I am supposed to control for total number of technologies patented (another positive count variable but higher than failures variable always). I ha... |
My dependent variable is originally count data. Because of several corrections it became continuous variable (originaly my data are pellet-group counts (for estimating deer density), corrected for research plot slope, avereged across three seasons, converted to deer density (number per sq. km)). Can I still apply quasi... |
I have a random forest to perform classification. I need the real probability of the predicted class.
They take a feature vector X and output a predicted class C. Additionally we can compute the confidence level L we have over the predicted class (my implementation calls that value PROBABILITY (I'm using OpenCV machine... |
Say I have a feature matrix $X$ and a target $y$. I use $k$-fold cross validation to generate $k$ out-of-sample MSE curves as a function of a penalty parameter $\lambda$
$$MSE_i(\lambda) \quad (i=1,\dots,k)$$
Given these curves, how should I choose $\lambda$? Two approaches I have seen are
Choose $\lambda=\lambda^*$ t... |
A casino dealer suspects that his die isn't a fair die. He thinks that
the die gives more chances to the even numbers (the probability for an
even number is larger than $0.5$). To test his suspects he decides to
have an experiment, he writes down the outcome of $60$ independent die
rolls. The dealer would say ... |
Given is that all the assumptions for a linear regression $y_i=x_i'\beta + \epsilon_i$ hold for $i=1,\dots, n$. For the (n+1)st observation we can write: $y_{n+1}=x'_{n+1} \beta + \nu + \epsilon_{n+1} $Then prove that the Least Squares Estimator (LSE) for $\beta$ for the full sample is $b \ (=(X'X)^{-1}X'y)$.
I can ... |
Given a non-normal distribution (a table) and a specific sample, how do I find the $MLE$ of the mean using the given sample?
To be more specific I was given the following distribution:
$$
\begin{array}{|c|c|c|c|}
\hline
\text{Number of Weeks} & 1 & 2 & 3 \\ \hline
Prob. & 2\theta & 3\theta... |
I want the mathematical formula the statistical programs are using to compute alpha and beta.
I typically use G-Power to estimate the necessary sample size for a given power (1-beta) for an a-priori analysis.
The input it requires for this calculation is:
Type of analysis (t-test, difference between two independent sa... |
In some research papers, authors use 'Ln' for natural logarithm instead of 'ln'. Is it correct?
|
I am trying to find an additive decomposition of a Tornqvist index - to measure the contribution of individual industries to sector-level productivity indexes - and I can find formulae for this, but not the explanation for what these are based on.
My initial intuition for the contribution of a particular industry to th... |
What is the difference between a multivariate normal random deviate and a random variable? More specifically, I suppose, what exactly is a deviate?
|
What do all the symbols mean?
Table 2
Summary of Hierarchical Regression Analysis for Variables Predicting Depression (N=108)
Model 1 Model 2
Variable B SE B β B SE B β
RSES -.613 .119 -.449 -.600 .120 -.440
UES -.027... |
Here is the whole question:
(a)A Simulation Study (Logistic Regression). Assume $y|x \sim \mathrm{Binary}(p)$,
where $p= \mathrm{E}(y|x)$, and $\mathrm{logit}(p_i)=-1+5.1x_{1i}-0.3*x_{2i}$. Generate data
with $x_{1i}\sim \mathrm{Unif}(0,1)$, $x_{2i}=1$ for $i$ odd and $x_{2i}=0$ for $i$ even, and sample size $n$=5... |
I am learning Latent Semantic Analysis. After we have the SVD decomposition of term-document matrix, how to infer topics from that?
For example, how to get the following result:
Topic 1: apple, orange, fruit
Topic 2: computer, machine
|
How do you know whether you suffer from it?
Let's suppose I have a 2 class problem - 2000 training examples and 30 features. While it works good for the most part, sometimes I get edge cases that are so horribly misclassified. I feel like it's because there is a lot of dimensions and too little examples.
I feel like t... |
I am a grad student. I am struggling with core statistics courses: probability, statistical inference.
In probability, for example, prove unbiased estimator for uniform. In statistical inference, find the UMVUE for an estimator.
American stat dept has either highly qualified foreign students, or the couple of America... |
A previous question received a linked answer as below:
The first important distinction here is that linear independence
and orthogonality are properties of the raw variables, while zero
correlation is a property of the centered variables
and
The key to appreciating this distinction is recognizing that
cente... |
Question: Assume $X$ and $Y$ are independent random variables. Is $Median(XY) = Median(X) \cdot Median(Y)$? If so, how would one prove this? If not, what conditions would be sufficient for this relationship to hold?
Additional question: Does the relationship hold for $\alpha$-trimmed means?
Update: Based on a conversat... |
I'm trying to estimate a multivariate normal distribution using a training set of 10.000 examples with 50 features. The observations belong only to 2 classes. I am using a subset of this dataset.
After calculating the mean vector and the covariance matrix for the 2 multivariate normal distributions I get covariances fo... |
I am comparing two power functions in R, a base function stats::power.prop.test, and the function pwr::power.2p.test in the pwr package.
I would think that they would give the same answer, but they are slightly different. And the equations being solved in the source code are different. Why are they different, and in wh... |
I have done an experiment to test the performance of a system. In this experiment I collected answers from people. These answers are categorical (they were able to select on a 5 points scale). Each subject participated to 2 conditions: in one they are giving evaluations for observations under an ideal situation and in ... |
I have a 4x3 contigency table with ordinal data for a research finding in tuberculosis, I analysed cytology patterns and afb patterns; cytological pattern $A,B,C,D$ (independent variable) and afb pattern 1,2,3 (dependent variable) and put a 4x3 table with number of cases in corresponding cell.
Which statistical test ... |
I have five groups of data and I want to test if their variance is significantly different or not. The data are normally distributed and I do not have any repeated measurements in any groups. What sort of analysis should I use?
Tukey's test compares the means, but how can I compare their variances?
For example I have... |
I've got social network data for three groups of chimpanzees and I'm looking to do some basic analysis across and between groups. Does anyone by any chance know how to compare social network data between groups (for example, scores of strength from enclosure 1 vs enclosure 2), and/or 2) combine data from different grou... |
I'm measuring running times of two programs on $n$ inputs and I want to know whether one of the programs is faster. Each program has 30 seconds and 8 GB of memory for processing one input. If the program successfully solves the problem within the limits I record its running time, otherwise I record t when the time limi... |
My apologies for another stats beginner question. This feels like reinventing the wheel, unfortunately I just can't find the answer myself. Googling "average densities classification" does not help me.
"classifying using histogram" brings up interesting pages, but too obscure for me.
I have to classify x, and find a p... |
In Bayesian data analysis, parameters are treated as random variables. This stems from the Bayesian subjective conceptualization of probability. But do Bayesians theoretically acknowledge that there is one true fixed parameter value out in the 'real world?'
It seems like the obvious answer is 'yes', because then trying... |
I am trying to calculate chi-squared value for my fitted data using:
$$
\chi^2 = \sum_i^n{\frac{(y-f(x))^2}{f(x)}}
$$
where $f(x)$ are theoretical values from fitted function and $y$ are observations.
However, if expected values are too small, I receive (logically) very large numbers. For example if I calculate chi-squ... |
Is there a closed-form formula for (or some kind of bound on) the EMD between $x_1\sim N(\mu_1, \Sigma_1)$ and $x_2 \sim N(\mu_2, \Sigma_2)$?
|
OK, I know its not possible because Log(0) is undefined. But here is my Problem:
I measured a Weight gain of my Test object's over Time. Test objects, made of nonwoven material, were placed in very humid Atmosphere (enclosed above a Tank of heated Water). As they absorbed kondensated Water their total Weight would incr... |
I'm interested to know that, what is the difference between linear regression and multiple linear regression? both of them seems same to me.
|
I would appreciate some help in the following exercise:
Let the Random Variable $Y$ have the moment generating function $$M(t)=\exp\{q(\theta)-q(\theta+t) \}$$ where $q(.)$ is a function. If $E[Y]=\theta$, prove that that $Y\sim N(\theta,1)$.
Hint: Consider $M\prime (0) =\theta$ and solve the differential equation.
St... |
First of all, my data:
http://www.pastebin.ca/2599202
(I hope this is not too inconvenient, because I fail creating good fitting example data)
What I basically need, is a plot like:
I plotted the repeated measures factor time(x-axis, 3 levels) against ias (continuous dependent variable) for my 3 experimental groups. ... |
I recently run a project that involves a feature selection step before further pattern recognition.
The number of features for our data set is very large and instead of running greedy forward/backward feature selection. I simply run the Student T-test on the features and ranking them according to the p-values to find t... |
I have imputed a dataset which has 20 observations.
Participants were asked to rate the importance of 13 variables under a certain circumstance, from 0 to 25.
I imputed this using mice(imp=25, max_it=25), and got a nice dataset after a few hours.
I'm now analysing it using boxplots per circumstance (thus 13 boxplots at... |
I have imputed a dataset which has over 200 variables, and 20 observations.
In worst case, 80% of the data is missing, in the best case 100% is available. 5 out of the 20 participants provided data for all the variables.
Participants were aksed to rate the importance of 13 variables under a certain circumstance, from ... |
Assume you draw $N$ values from a bounded set, say $[0, 1]$ without loss of generality.
If I am right, the centered values $X-m$ will remain in range $[{1\over N}-1, 1-{1\over N}]$ (by considering the most imbalanced 0/1 cases). And the standard deviation in range $[0,{1 \over 2}]$ (even $N$) or $[0,{1\over 2}\sqrt{1-{... |
I found one formula to calculate the pairwise distance between samples according to their SNPs in the following paper: Siu, Jin and Xiong, Manifold Learning for Human Population Structure
Studies, PLoS One (2012) 7(1), p. 13. The formula is
$d = 1-\frac{1}{2k}\sum_{j=1}^k (\frac{1}{P_{A_j}}IBS_{A_j}+\frac{1}{P_{a_j}}IB... |
I am doing multiple regression on a subset of the NLYS79 dataset, namely a subset containing 540 respondents. And am interested in the significance of race upon earnings. My variables here are: years in school, ASVABC(a measure of intelligence), ethnicity is black, ethnicity is white, female, tenure, hours per week wor... |
I've been looking at numerous questions on this site regarding bootstrapping and confidence intervals, but I'm still confused. Part of the reason for my confusion is probably that I'm not advanced enough in my statistics knowledge to understand a lot of the answers. I'm about half-way through an introductory statistics... |
Here is an example case:
I have a population of 10,000 items. Each item has an unique id.
I randomly pick 100 items and record down the ids
I put the 100 items back into the population
I randomly pick 100 items again, record down the ids and replace.
In total, I repeat this random sampling 5 times
What is the... |
This is a homework question and I need suggestion how to approach it. We have given the transitions
$\ i\rightarrow i+1$ with rate $\lambda(i)$ where $\ i \ge 1$
$\ i\rightarrow i-1$ with rate $\mu(i)(i-1)$ where $\ i \ge 2$
I am starting the forward equation like this:
$$\ p_j(t) = [1-(\lambda_jh+\mu_jh +o(h))p(... |
I am currently using the Laplace approximation to fit some geostatistical models for binomial data. Regarding parameters estimation I do not have any problem. I can easily implement the Laplace approximation and get my estimates.
But when it comes to obtain the standard errors I am puzzled about how I can derive the h... |
I computed a feature x that I use to predict y which is a probability of being a certain class.
Raw data in R format for (x,y) is pasted here:
http://tny.cz/a97b3fd0
(500 samples)
plot(x,y) looks like this:
It seems similar to a previous question I asked, so I am tempted to try this advice, which I understand is the "... |
I am currently reviewing some work and have come across the following, which seems wrong to me. Two mixed models are fitted (in R) using lmer. The models are non-nested and are compared by likelihood-ratio tests. In short, here is a reproducible example of what I have:
set.seed(105)
Resp = rnorm(100)
A = factor(rep(1:5... |
I have some interlaboratory data where we have tested recovery weights of 3 different batches of product in three labs, with varying numbers of operators in each lab (see below).
I want to know whether the labs are all getting similar results. Note that we expect the three different products to have different results.... |
I have developed a new predictor based on neural networks for a specific problem in bioinformatics. This predictor takes as inputs several features and returns a boolean target value. Additionally i have runned my dataset through other already published predictors (none of which based on neural networks). From all the... |
Disclaimer: if you find this question to be too similar to another one, I happy for it to be merged. However, I did not find a satisfactory answer anywhere else (and do not yet have the "reputation" to comment or upvote), so I thought it would be best to ask a new question myself.
My question is this. For each of 12 hu... |
Im doing a comparison between 4 classifiers : A linear SVM, a random forest classifier, a multivariate gaussian and a neural network, for a dataset with 50 features and 10000 examples, the observations belong to 2 classes.
What is the best way to compare them ? I mean, should I use F-score, Precision/Recall or maybe l... |
Update: I posted an answer below describing my current attempts to approach this problem.
I am facing a perennial problem of identifying significant principal components. This question has been discussed here a couple of times (one, two and a very impressive thread three), and the usual advice is to use either so calle... |
Let's say I'm trying to sample from a posterior distribution, $p(\theta|x)$, which I suspect is very "bumpy" (10s to 1000s of small modes). Moreover, the evaluation of the posterior kernel $K(\theta|x) \propto p(\theta|x)$ is very expensive to evaluate (and not conjugate) and the data set is large enough such that I wo... |
The title says it all. If you are working on a two class classification problem with 50% of instances from each class does it matter which of the two classes is the positive class? Does the classification algorithm used affect the answer?
|
In a multiple regression analysis (with 4 continuous predictors and 2 categorical factors), we mean centered the data (for each continuous variable) due to issues of multicollinearity when the interaction terms are included.
My question is whether I can center the response variable too.
More specifically, the respons... |
I am studying disturbance caused by ship traffic to a small seabird. I observed focal animals for a set amount of time and record whether or not they fly from the water during the observation. This particular bird does not fly at high probabilities when not disturbed (about 10% of the time). Post hoc, I have appended t... |
I am building a cox survival analysis model with a retailer's transaction data. Almost all the variables have failed the proportionality test. Can I continue with the Cox model? Should I build a LIFEREG model instead of the Cox model?
|
Let $\mathbf{X}=(X_1,X_2,\ldots,X_{2k})$ be a sample from normal distribution $\mathcal{N}(0,1)$.
Prove that distribution of sample median (for even sample) is symmetric around 0.
$me(\mathbf{X}) = \frac{X_{k:2k}+X_{(k+1):2k}}{2}$, where $X_{i:2k}$ is $i$-th order statistic.
I was trying to use formula $f_{X_{k:n}}(x) ... |
How do you check ergodicity of a wide-sense stationary stochastic processes from its
sample path(s)?
Can we check ergodicity from a single sample path? Or do we need multiple sample paths?
One motivation of checking ergodicity is in time series to ensure that you could safely use the average of a sample path over... |
I have a distribution $x\sim\text{exponential}(\lambda)$ and I know that $\hat{\lambda}=\bar{x}$ and Fisher's information to be $\lambda^{-2}$. Now, I need to use R to generate the data from this distribution with $\hat{\lambda}=1$, and plot the coverage of the CI of the sample as a function of sample size for differen... |
I am exploring the cumulative distribution function of two samples. I am comparing the distribution of observations in which a focal animal was disturbed with the distribution of observations in which a focal animal was not disturbed as a function of distance to the disturbance.
Using program mark I have computed and p... |
What are the steps necessary to calculate the plim of an estimator, when only the general equation form is given? I have looked at resources online, but can't understand how to approach this.
|
I was asked a question recently which I could not find an answer for and was hoping someone could enlighten me.
The question was regarding the significance of a single variable in a linear model.
What is the difference between a traditional p-value
which you would obtain from the t-statistic formula
$(\beta_1 - \b... |
I estimated a robust linear model in R with MM weights using the rlm() in the MASS package. `R`` does not provide an $R^2$ value for the model, but I would like to have one if it is a meaningful quantity. I am also interested to know if there is any meaning in having an $R^2$ value that weighs the total and residual va... |
I'm currently taking a class covering some topics in machine learning. The class is taught in MATLAB using Liblinear so far. I was curious though what kind of tools people used in the real world to tackle these problems. As I'm learning now, MATLAB is great to get your feet wet, but it is seriously lacking in terms of ... |
I fitted a one-parameter gamma shared frailty model with Weibull and exponential baseline hazards for recurrent event data (the dataset contained 80 subjects of which 16 patients had events (13 subjects with just one event, 2 subjects with 2 events and one subject with 3 events)) and I found:
The Weibull and exponent... |
Not sure if my question is a valid one but I will just put it out here.
Consider a bivariate data set $(x_i, y_i)$ $[i=1,...,n]$ to which a bivariate Gaussian Distribution is fitted. Now, consider a data point $z=(x_p, y_p)$. I wish to express the Euclidean distance of $z$ from the bivariate Gaussian mean $(\mu_1, \m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.