instruction stringlengths 9 38.7k |
|---|
I measured the amount of times men/women reacted to posts made by men/women.
I want to know if men reacted more often to women (or other way around?).
I have the following data:
So if a man posted something, and another man reacted to it, I would count +1 in the column where it says 252255.
I first thought to use the ... |
$\vec X_1,\cdots ,\vec X_n$ are iid $N_2(\mu,\Sigma)$. Find an unbiased estimator of $\mu\ 'S^{-1} \mu$ as a linear function of its mle.
My work:
MLE is $\bar X\ 'S^{-1} \bar X$
Now
$$E(\bar X\ 'S^{-1} \bar X)=E(tr(\bar X\ 'S^{-1} \bar X))\\=tr(E(\bar X\ 'S^{-1} \bar X))\\=tr(E(S^{-1}\bar X\ '\bar X))\\=tr(E(S^{-1})... |
Here is the least absolute deviation problem under concerned: $ \underset{\textbf{w}}{\arg\min} L(w)=\sum_{i=1}^{n}|y_{i}-\textbf{w}^T\textbf{x}|$. I know it can be rearranged as LP problem in following way:
$\min \sum_{i=1}^{n}u_{i}$
$u_i \geq \textbf{x}^T\textbf{w}- y_{i} \; i = 1,\ldots,n$
$u_i \geq -\left(\textbf{x... |
First of all, I realized if I need to perform binary predictions, I have to create at least two classes through performing a one-hot-encoding. Is this correct? However, is binary cross-entropy only for predictions with only one class? If I were to use a categorical cross-entropy loss, which is typically found in most l... |
I have 3D point cloud obtained from scanner. I want to obtain scanning direction from this point cloud, since I dont have it present. If I calculate average normal vector of the point cloud, I get kind of a good result, but it is not quite good solution, because normal vectors can be wrong (I dont have them, I need to ... |
I am using data from the European Social Survey (ESS) and I would like to calculate country-level cluster-robust standard errors for a regression model in R that includes country fixed effects and employs the design weights that come with the ESS.
To correctly use the weights, I use the 'survey' package and the functio... |
I'm currently struggling with the following problem and would like to ask you what in your opinion is the best way to deal with this problem (and maybe can recommend literature about the same topic):
I have conducted an experiment where I have exposed 25 individuals in randomized order to 8 treatments each (1 control +... |
Most often in (deep) Q network implementations are made using DeepMind's approach of having the state as the network's input and the individual Q-values for each output [1].
My question is related is its naive construction, this is, having the state/action pair as input and the Q value as the output [1]: how would you ... |
In Bayes success-run theorem (below), total "population" size is not a parameter. Why is this?
$$R = (1-C) ^{ (1/n)}$$
where:
$R =$ Reliability (or probability of success),
$C =$ confidence level,
$n =$ sample size.
|
I have a set of 9000 outcomes and I wish to make an estimate (with 95% confidence interval) of the amount of 'positive' examples.
After viewing 413 examples I found 13 positives (positive rate of 13/413 = 0.0315). With a cumulative binomial distribution I can make an estimate of the total positives with a 95% confidenc... |
Prelude, I'm moving my family to California and am looking at locations and school districts. One of the measures my wife and I are interested in is a diverse student body.
I have a spreadsheet of all the schools I'm interested in with columns indicating percent of a race. So 30% white, 10% back, 10% Asian, etc. Wh... |
Suppose you have a machine learning model that predicts if a given client is going to buy or not. The model has N features.
One of those features, N[i], when present, strongly indicates that the client is going to buy.
There are 2 options:
1) If N[i] is present predict 1, if not present predict with the model.
2) Feed ... |
It is said that a random variable $X$ with a uniform distribution over 4 outcomes needs a binary string of 2 bits to encode (eg, Cover & Thomas 2nd Ed., p.5; and it corresponds to the entropy of $X$, the fundamental lower bound in the length of the encoding string). But I am wondering what prevents us from using the fo... |
Latent Dirichlet Allocation uses as prior for topic distribution the Dirichlet prior.
However this model doesn't provide a correlation between topics and for this reason it was introduced Correlated Topic Model, that use a logistic normal distribution and provide this.
I was looking at the Dirichlet distribution and th... |
I have been reading Hamilton Chapter 13 and he has the following state space representation for an ARMA(p,q). Let $r = \max(p,q+1)$.Then the ARMA (p,q) process is as follows:
$$
\begin{aligned}
y_t -\mu &= \phi_1(y_{t-1} -\mu) + \phi_2(y_{t-2} -\mu) + ... + \phi_3(y_{t-3} -\mu) \\
&+ \epsilon_t + \theta_1\epsilon_{t-1... |
Suppose you observe vector $X_i$ of independent variables, and $y_i$ dependent variables, with likelihood $l\left(\theta;X_i,y_i\right)$. Assume the $y_i$ are independent. Furthermore assume you are given positive weights, $w_i$ which are arbitrary, and compute the weighted Maximum Likelihood Estimator (WMLE?):
$$
\hat... |
I want to do a regression. However, I have quarterly data for the dependent variable and only annual data for the independent variable. Is it useful to interpolate the annual data on quarterly data or are the results then not to be used?
|
Following my short experience in statistics, it seems that the type of sums of squares (type I,II,III,IV...) used in getting ANOVA results could make a dramatic difference in test results (especially of models with interactions and missing data). However I have not seen a paper yet reporting it. Why is that so?
I would... |
I am having this issue with directional statistics. I have a probability distribution on a circle (in this case, an Orientation Distribution Function). This is for measuring the directionality of collagen fibers in soft tissue and therefore, the directionality doesn't matter as collagen facing one direction is the same... |
I'm a complete novice in statistics, but while doing my first publication in medical research my advisor gave me the task to analyse a dataset. So the problem:
I'm comparing the time spent in a hospital after surgery between two surgical methods (robotic assisted and traditional open technique). The dataset is quite la... |
I am running a grid search for a binary classifier. Each model will receive a list of parameters and then that model will be run 20 times (20 epochs.) Many times the first epoch will have a high val_acc and then the val_acc will decrease as the epochs move toward 20. Should I care that the val_accs are decreasing? Or c... |
I am trying to conduct the following analysis on human subjects data using SPSS. It is my understanding that it requires mixed modeling, and I would appreciate an explanation of how to do this. (It's rather urgent, so I would appreciate help specific to this situation rather than a link to a longer resource, although I... |
I am trying to create a binary classifier that will assess if a photograph is aesthetically pleasing or not. However, despite various experiments, I am struggling to create something that even reaches 50% accuracy.
My dataset is downloaded from Flickr, I am using 240x180 color images. For classification, I am using a s... |
In a population of four classes of individuals, the proportion of individuals of Class $i$ is $p_i$ for $i=1,2,3,4$. Suppose you sample independently from this population, and suppose the sample size is a Poisson random variable with parameter $n$ for a fixed positive integer $n$.
This was a homework problem I had t... |
I have a data set of around 65,000 items from a public database that have each been assigned to one of around 1,800 classes, but unfortunately I am aware that quite a few are misclassified. My goals are the following:
I am trying to end up with classes such that for each point, the largest distance to another point in... |
I built a model of logistic Regression examining whether a customer returns to buy after his first deal by the transaction amount (success is not return..). There are three parameters in the model, a categorical variable indicating the store (6 Parameters for 7 stores), the transaction amount and the interaction betwee... |
I am having a statistical issue:
subjects receive a test with machine A and machine B.
3 experts classify whether the results of machine A and machine B are acceptable (1) or not (0).
From my understanding, the data are repeated measurements (as each subject gets tested by both machine A and B), so I should use McNem... |
Apologizes for misuse of technical terms. I am working on a project of semantic segmentation via convolutional neural networks (CNNs) ; trying to implement an architecture of type Encoder-Decoder, therefore output is the same size as the input.
How do you design the labels ? What loss function should one apply ? Especi... |
Using linear algebra to explain, can someone show the intuition? I can show that the ranks are the same by using properties of rank but can't get my head around the whole projection thing more than just thinking hazily.
|
I have a dataset of counts on which I tried to fit a Poisson distribution, but my variance is larger than the average so I decided to use a negative binomial distribution.
I use these formulas
to estimate r and p based on the mean and variance of my dataset. However, the nbinom.pmf function requires n and p as paramet... |
In case of ARIMA model for time series prediction, by which process does the method learn that what weight is to given to which past lag?
|
I have a large dataset of consumer loans. It is not, strictly speaking, time series data, but as customers take repeated loans over time at fairly regular intervals, there is a very strong chronological component. Fields are mostly engineered fields describing a customer's past loan performance, as well as boolean fiel... |
My data shows that there is NO overlap of the standard errors of the mean but my unpaired two tailed t-test shows that the difference in the means is not statistically significant? How can I interpret this data: is the difference in means significant or not?
|
I am new to the field of neural networks. I started reading up on the field after AlphaGo's victories over Lee Sedol 9p in March 2016 inspired me to take another crack at programming a Go AI. I have read through http://neuralnetworksanddeeplearning.com/ and some other sources, so I get the basic concepts while not be... |
The simplest version of the issue that I am looking for help is:
How to detect the correct distribution from a small sample size in R by using fitdistrplus
A simpler version:
I am generating some random numbers with Gamma distribution and fitting these random numbers to different distributions (Lognormal, Weibull, Exp,... |
Let's say I have data from an experiment:
3 participants took part
each of them was subject to two conditions. Condition A, and B.
in Condition A, 3 trials could yield success or failure (depending on the performance)
in Condition B, a variable number of trials could yield success or failure (also depending on the per... |
I am fitting a binary probit model on a data with rare events in the response variable. I have several questions:
1- How small should the portion of 1's in the binary response variable be to enable us to say the events are rare and the maximum likelihood estimation might have biased results?
2- Does rarity of the binar... |
I know similar questions have been asked, but I can't quite seem to understand it.
I have a model glm(freq~DayOfWeek+PdDistrict, family ='poisson',data=df) to look at what days of week and what police districts have more crime. When I get the summary out, the first level of the factors from each are missing. For examp... |
I'm trying to understand a technique used for estimating error from an oscilloscope. I'm assuming the noise on the scope is normal, so can except a bell-curve for the error I see. If I see a horizontal line, a technique I have learned to estimate the one sigma error is to find the max and min visually on the scope and ... |
On Amazon, there are over 12,000 references in its "Book" catalogue using the keywords "statistical physics." Similarly, a Google search of the keywords "online MOOC statistical physics" turned up over 100,000 hits.
I would like to cut through all of this and hear what CV participants think are the best resources for ... |
In an effort to understand AIC more intuitively, I created a synthetic dataset with the following:
df <- data.frame(replicate(10,sample(0:1,1000,rep=TRUE)))
df['Y'] <- (runif(1000,0,2) + df$X4 + df$X5) < 2
When I run summary(glm(Y~., data=df, family = 'binomial'(link='logit'))) I get this output:
Call:
glm(formula = Y... |
In the book Independent Component Analysis (Hyvärinen et al. 2001), it is mentioned on page 178:
The advantage of such gradient methods, closely connected to learning in neural networks, is that the inputs $z(t)$ can be used in the algorithm at once, thus enabling fast adaptation in a nonstationary environment
What d... |
I've just found the following paragraph in a published article, where two dimensionless forms of RMSE are used, namely: relative root mean squared error (RRMSE) and root mean squared relative error. My question is: the is the difference between them? And, can we use the rules of thumb provided with the RRMSE (e.g. <10%... |
Suppose a random variable $N \sim \operatorname{Pois}(\mu)$, with Gamma conjugate prior such that $\mu \sim \operatorname{Gamma}(\alpha, \beta)$. Then given a sequence of $n$ observations of counts $\mathbf{k} = (k_1, \dots, k_n)$ in the next $n$ units of time, then the way to derive the posterior distribution of $\mu|... |
I have count data looking at the frequency of crime around Day of the week and Location. I used a glm with a Poisson distribution to model the data.
glm(freq~DayOfWeek+Location,family='poisson')
Would this be appropriate to do? If I wanted to look at if crime was more frequent during a specific time in a specific area... |
I have a binary classification problem, with about 500 rows of data and 50 features. Due to the nature of the data, it seems SVM is the best solution to it. But the problem is that for some reason, the un-tuned, out of box implementation via sklearn SVC algorithm performs better according to F1 score than the tuned ver... |
Say there are 900 million known Twitter accounts in existence. How would I determine the number of "active accounts", that is, can be expected to tweet in the next 30 days? Based on the following observation.
I maintain a database of information about Twitter accounts. I'm getting a stream of live tweets from Twitter... |
I want to do prediction using a ridge regression fit using the glmnet package. There are 2 options of the standardize parameter; 1) standardize=T (which is the default) and 2) standardize=F. I was thinking standardization of the data prior to regression is just for interpretation of the coefficients and it would not af... |
What statistical or machine learning methods do companies like Lending Club use to segment their customer base into loan grades A1-G5? What would a reasonable partitioning method look like after running, say, a simple regression?
|
The conditional distribution of $Y|X=x$ is Normal$(x,1)$. The marginal distribution of $X$ is Normal$(0,1)$
Find the distribution of $Y-X|X=x$.
I notice that since the conditional distribution of $Y$ has $x$ as a parameter, this implies that $X$ and $Y$ are not independent. Which is unusual because in my courses th... |
I'm trying to handle a case where I have:
E[X|Y,Z] where I know X is dependent on both Y and Z, but Y and Z are independent of each other. I see a different post at this link which states it is not true that E[X|Y,Z] = E[X|Y]E[X|Z], but the counter example is the case in which X is independent of Y and Z.
In my case, s... |
Considering $MSE[\hat{\mu}|{\mu}*]= Var [\hat{\mu}|{\mu}*] + Bias (\hat{\mu}|{\mu}*)^2$ and the following givens $\hat{\mu}= 112$, ${\mu}*= 112$, ${\mu}_0 = 100$, ${n = 10}$, $\bar{y}=113$, and ${\sigma^2} =225$, how do I determine the variance and bias to get my MSE? Any resources that would help facilitate an underst... |
Reading some research studies and there are interesting aggregated results. I want to plug it into a neural network (or similar) in order to categorise individual entries into alignment with what the aggregates say.
Given a single metric—say: age range within $20$ – $30$—an aggregated average; a sample size $n$; coul... |
Let $X_1,X_2,...,X_n$ be the iid sample from $N(\theta,1)$.
Then how can I compute the correlation coefficient between sample mean $\bar X$ and $X_1$?
In order to get the $\rho$, I need to take care of $E[(X_1-\theta)(\bar X-\theta)]$, which equals $E(X_1\bar X)-\theta^2$.
To get $E(X_1\bar X)$, i need joint pdf of $... |
For my current project I need to compare means of four groups by one-way ANOVA. In order to test whether my data come from normal distribution or not, I have checked each group for normality by Shapiro-Wilk test and now I have four p-values, i.e. one p-value per group. Should I apply Bonferroni correction to these p-va... |
In the paragraph before equation 6.20, the book says:
"...If we begin with the assumption that the unnormalized log probabilities are linear in $y$ and $z$, we can exponentiate to obtain the unnormalized probabilities..."
With this assumption, we proceed to equation 6.20, and onwards to derive the sigmoid output unit.
... |
I am reading Wooldrige's "Introductory Econometrics" and wondering about the assumptions on Linear Regression especially the conditioning assumptions:
$ E(u|X) = 0 $ and $ Var(u|X) = σ^2 $
If the conditioned value is a constant, does it mean that unconditioned $ E(u) $ and $ Var(u)$ are simply the same constant since... |
I am hearing these words more and more as I study machine learning. In fact, some people have won Fields medal working on regularities of equations. So, I guess this is a term that carries itself from statistical physics/maths to machine learning. Naturally, a number of people I asked just couldn't intuitively explain ... |
I have come across an Excel model that estimates the lognormal distribution parameters with maximum likelihood estimation and least squares estimation. The least squares estimation is fitted to the empirical cumulative distribution. What are the pros and cons of each method?
|
I am working with spatial point processes and on a dataset which seems to be a non-homogeneous poisson point process. I have fitted a cluster/ cox process model and also used this model to predict the intensities in certain locations using the spatstat package in R.
I have built several models and I want to compare th... |
$\textbf{Problem}$ Let $X_1,\dots,X_n$ be a random sample from $f(x;\theta) = 1 / \theta$, where $0 < x < \theta$. We want to test $H_0: \theta \leq \theta_0$ versus $H_1: \theta > \theta_0$. Obtain the uniformly most powerful test with size $\alpha$. You must describe how to calculate $\alpha$ to get a full credit.
He... |
Answers to other posts that are almost identical to my question are still confusing to me...
my data is nonparametric, unequal sample size, unequal variance, so I've decided that kruskal-wallis is best for comparing multiple populations, here are my results:
>kruskal.test(Area~Dehiscence2)
Kruskal-Wallis rank sum test... |
I have independent correlation coefficient measures for each subject. I would like to test whether the correlation coefficient of the group is significantly different from 0. My understanding is that the best way to do this would be to use a t-test with an r-value per subject.
It's been recommended to me that I fir... |
I tried to solve this exercise in the book of "Time Series Analysis with Application in R":
Simulate a completely random process of length 48 with independent,
chi-square distributed values, each with 2 degrees of freedom. Display
the time series plot. Does it look “random” and nonnormal? Repeat this
exercise se... |
Based on several posts i read on stack exchange I now know that neither correlation nor regression indicate causation,
then why is it said that the 2 main uses of regression are
1)prediction
2)causal analysis and inference ??
Reference to the following article by Dr Paul Allison
http://statisticalhorizons.com/predi... |
For those of you who have used Tensorflow's pre-trained Inception model to bootstrap an image classifier with custom categories and also trained a classifier from scratch with the same images, how big was the difference in validation/test accuracy between the two? If training from scratch yielded higher accuracy, how m... |
A popular distance measure, cosine similarity/distance, is not a proper metric because it fails to satisfy one of the conditions (the triangle inequality). However, there is no disadvantage whatsoever in using it and it is used heavily in many applications.
Is the categorization of a distance measure as a metric useful... |
Below I attached an example which I would like to analyze.
Let's for the example purposes assume, that these plots show the activity of two different drugs which were tested. On the Y axis we have "intensity" of this drug and on the X axis we have a period of time how long is a lifetime of this drug. At this moment I... |
I was trying to answer the question Evaluate integral with Importance sampling method in R. Basically, the user needs to calculate
$$\int_{0}^{\pi}f(x)dx=\int_{0}^{\pi}\frac{1}{\cos(x)^2+x^2}dx$$
using the exponential distribution as the importance distribution
$$q(x)=\lambda\ \exp^{-\lambda x}$$
and find the value o... |
Suppose I have a certain nEV number of Electric Vehicles, each one has a State of Charge (SoC) picked from a particular distribution X.
I have a certain quintic polynomial function g(x) which maps each SoC into a 'probability of positive charging decision' (p_i). Thus, if I'm correct, I have another rv Y=g(X), whose pd... |
How do I find the variance of this ARMA(3,1) model?
Assume $y_t$ is covariance stationary, and innovations are standard normal. What is the variance in the following process, assuming $\sigma^2_\epsilon = 1$:
$$ y_t = 0.2 + 0.7 y_{t - 1} + 0.1 y_{t - 2} - 0.4 y_{t-3} + \epsilon_t + 0.1 \epsilon_{t - 1} $$
A. 3.0
B. 5... |
I'd like to model the behavior of a server A, which caches results from an upstream server B. Queries sent to server A will be forwarded to server B if the former has not already seen this query for an entry.
Relaxations and parameters:
There are x total entries in server B, which can be cached in server A
A query fo... |
Let's start with an example:
I would like to know what alternative for euclidean distance could be use to distinguish if orange or blue plot is "closer" to red one. In which situations I should apply euclidean distance and when Bayesian approach can be used ?
|
I'm creating a report with a KPI that I here illustrate as the share of students passing courses. This KPI has a goal of 90 %.
Given this data
Filter: All courses
Period | # Students | # Pass
--------------------------------------------
2014-1 | 3511 | 2458
2014-2 | 3454 | 2521
201... |
Let's say I have a dataset containing a list of car accidents and associated information (e.g. weather, driver info, car state etc.).
Let's assume I know the number of cars on the road and the distribution of the relevant characteristics (e.g. number of male / female drivers, historical weather data etc.).
I would like... |
In the problem I am working on, I am dealing with data points which have many features and are mapped to a certain value based on an unknown function. I would like to train a predictor to be able to compare two data points and to predict which of them will have the better (higher) value. I can imagine three approaches ... |
I have some data for a bernoulli variable $Y$ which I believe is a function of time $X$. I have plotted the data below, the slope is negative but I want to test the null hypothesis that the slope is greater than 0.
I know how to perform this hypothesis test for an ordinary regression model by using a t-test but I think... |
I am conducting a study in which I am reporting results of hypothesis tests conducted in a frequentist framework, and also some additional analyses conducted in a Bayesian framework.
Should I use upper case (capital) $P$ or lower case $p$ to denote $P$/$p$-values and Bayesian probabilities?
"p" for both frequentist an... |
I am trying to correctly interpret and plot the effects of a multinomial model fit in R. The data and script are here for reproducing the problem.
The multinomial variable describes different outcomes of a videogame where players have to hit a moving target. 3 is a miss, 2 is a non critical hit and 1 is a critical hit.... |
So I am using a GLM for binomial distribution to predict seasonality on habitat preference. My model has 2 categorical variables:
"Season" (1, 2), and "habitat" (1,2). But when I try to run the model, I only get 2 coefficients shown where I believe i should get 4. Im so confused right now.
Also I have heterogeneity in ... |
There are four mutually exclusive events I want to model - or rather, three events and their absence. The three events' rate of occurrence together is very small, with a 99% chance none of them will occur. So I would model them with a multinomial. So far so good.
However, I know that the rate of occurrence of the $i^{\... |
I'm going through Murphy's ML a Probabilistic Perspective book and in chapter 9 we have the following excerpt talking about the MLE of exponential family distributions:
My question is: How do we arrive at the conclusion that because -A(θ) is concave in θ and $\mathbf{\theta}^T\phi(D)$ is linear in θ, their difference ... |
I've often heard it said that linear regression assumes variables were measured on an interval or ratio scale. I understand why normality/homoskedasticity/independence are required (in order to keep alpha levels at 0.05), but why does regression assume interval or ratio data? Is it simply because the interpretation of ... |
So I have a test subject A which consist of a binary variable 0 and 1. I want to see if this binary variable is decided by some independent variables (plus interactions) which are continuous, which in my case I apply normal logistic regression to see if I can model it.
However after I apply a treatment on test subject ... |
Bayes' theorem [is used] in the classifier's decision rule, but naive Bayes is not (necessarily) a Bayesian method.
-Wikipedia.
I have applied naive Bayes assumption to LDA, but it has a Bayes classifier as the sole classifier. To what other non-Bayesian classifiers or learning models could the naive Bayes assumpti... |
In searching for an answer I came across this about the pdf/cdf ratio but I would like to know if there is any meaning, name or supporting theory relating to the ratio of two pdf values, the numerator and denominator evaluated with the same pdf e.g. $f(x_1)/f(x_2)$ where $f(x)$ is the pdf.
I am specifically interested ... |
How to tell if a specific cell from my 2x2 (also 2x2x2) contingency table (constructed for computing Chi-Square test of independence) is in favor or against the null hypothesis?
|
Let $X_T$ is a number of events in Poisson process of unitary rate ($\lambda = 1$) within interval of length $T$. It is known that at least one event has been observed in the interval, I want to find probability that there is more events in the interval.
My intuition is that $\Pr(X_T > 1 \mid X_T > 0) = \Pr(X_T > 0)$.... |
I am using Abalon data for classification from UCI(https://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data). I have scaled data and used TSNE for visualization.
data=pd.read_csv('http://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data')
x=data.drop('15', axis=1)
y=data['15']... |
In regression analysis it could happen that some samples are more relevant than others (i.e. they are more important in understanding the underlying model). Is there any technique to train a regressor by weighting training samples according to their relevance? A trivial example could be giving 0 weight to outliers.
|
According to e.g. https://stats.stackexchange.com/a/61466/14346, the following simple model:
$$
x_{label} = a_{label} + e_{label}
$$
writes in lmer syntax as:
x~1|label
However, I do not manage to understand this formulation : What is the meaning of this when dealing with multiple observations i.e. multiple (and diff... |
Is there a good textbook or a journal article which describes the properties of the multivariate hypergeometric distribution? I am particularly interested in the covariance structure. Wikipedia gives some basic results but without any citations.
|
I am working on a multiclass problem with 9 possible labels, for which I have a dataset consisting of ~50.000 examples and ~200 features each. Each example can only belong to one class. The data is fairly balanced amongst the different labels.
Given its robustness and scalability, I decided to use Random Forest (with a... |
I am trying to get Schoenfeld residuals for testing data, using the model parameters obtained from training data. However in r, predict.coxph gives only the linear predictors and their exponentials. Could anyone give me some suggestion?
|
Granger causality uses the notion of VAR models where we can create two models one using the prediction of X alone and another using X and Y. If X,Y model performs better we can say that X causes Y. At many web resources, there is a mention of F-score and p-value to determine Granger causality. Where do they fit in wit... |
Is it true that
If $a$ is random vector independent of $x$ for which $P(a'\Sigma a=0)=0$, then $$f\sim N(0,1)$$ and $f$ is independent of $a$ ?
Here $x\sim N_p(\mu,\Sigma)$ and $f={a'(x-\mu)\over\sqrt{a'\Sigma a}}$
|
I would like to ask when we have a variable X which is normally distributed with mean 0 and s.d 0.5 and we want to check if x>2 is statistically significant:
so the z value would be 4 so in a standard normal distribution how can i find the area under the curve above the μ+4σ value (because I cant find it on the table... |
In Wasserman's book "All of Statistics", page 157, there's the following sentence:
«A large p-value is not strong evidence in favor of $H_0$. A large p-value can occur for two reasons:
$H_0$ is true, or
$H_0$ is false and the test has low power.»
Why when we have a low power test, do we have a large p-value?
Any hel... |
I am writing a proposal for a research project and have been asked to calculate the sample size and power for the data I will use. The problem is that this will be an analysis of two repeated surveys of a sample of a country's population (panel panel) that I don't yet have access to (1500 respondents with complete data... |
I am interested in a strategy to calculate heterogeneous treatment effects with an IV strategy for local average treatment effects (LATE).
I am estimating the effect of postsecondary educational selectivity on adult wages using an instrumental variables identification strategy. The instrument is linear distance to a se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.