instruction stringlengths 9 38.7k |
|---|
Here is the wiki of Three-prisoner problem, in which only one prisoner is pardoned, and the Bayes solution is given in the wiki.
My problem is pretty much the same, except that only one prisoner is executed. Here is the description:
A, B, C are three prisoners, two of which will be pardoned, A asks the
warden to tel... |
Sorry about asking such a basic question.
Assuming I have data like this
x Trial1 Trial2 Trial3
1 1.0 2.0 3.0
2 1.1 2.1 3.1
3 1.2 2.2 3.2
How exaclty to I regress my predictor variable x onto my data. I was thinking naively that I could just take the average of the data trials and get ... |
I am attending a qualitative methods conference in social science, and one of the speaker argues the following.
In the two graphs below, a researcher using regression would see two regression lines with identical slopes and different intercept -- thus, he would not detect any difference.
In contrast, for a qualitative ... |
Is there any connection between sum of squared error SSE and the absolute deviation from the centroids after clustering.
More formally, I have clustered $T=\{x_i\}, i\in\{1,\ldots,n\}$ and the results are $c$ clusters: $T^C=\{C_j\}, j\in\{1,\ldots,c\}$ (As a side note, I appreciate your comments on the notations). All ... |
I understand we should use ARIMA for modelling a non-stationary time series. Also, everything I read says ARMA should only be used for stationary time series.
What I'm trying to understand is, what happens in practice when misclassifying a model, and assuming d = 0 for a time series that's non-stationary? For example: ... |
I'm fitting a logistic regression model to predict probabilities from a set of variables. I'm comparing two such models, say M1 and M2. The only difference is that M2 includes all the variables of M1 plus a few more variables. The idea is to see which variables are useful in predicting my dependent variable.
I expecte... |
Let $\phi_1,\ldots,\phi_n$ denote characteristic functions for distributions on the real line. Let $a_1,\ldots,a_n$ denote nonnegative constants such that $a_1+\ldots+a_n = 1$. Show that
$$\hspace{20mm} \phi(t) = \sum_{j=1}^{n}a_j\phi_j(t), \hspace{8mm}-\infty<t<\infty$$
Attempt:
Let $a = 1$.
$$\phi(t) = \mathrm{E}\le... |
I would like to analyze effect of a treatment on my patient samples by MANOVA in R. I have measurement of 3 different protein level for treated and untreated patients. Now I would like to analyze effect of my treatment on the whole different protein measurements and not each individually (sort of summing them up togeth... |
I see that both functions are part of data mining methods such as Gradient Boosting Regressors. I see that those are separate objects too.
How is the relationship between both in general?
|
I have several set of probability distributions. I want to reliably estimate consistency across distributions inside each set.
Literature contains methods to compare two distributions: Kullback-Leibler divergence, earth mover's distance, ... But I couldn't find anything for more than two distributions.
I can imagine an... |
I have done multiple regression analysis (MLR) of my data and find out $R^2$ and $r$, and then to remove multicollinearity problem I used PCA. This analysis generated PC equal to my variables, I selected only those factors having eigen value greater than 1 after rotation (varimax rotation). Now I'm confused that if I p... |
Let $X$ denote a real-valued random variable with characteristic function $\phi$. Suppose that $g$ is a real-valued function on $\mathbb{R}$ that has the representation
$\hspace{25mm}g(x) = \int_{-\infty}^{\infty}G(t)\exp(itx)\,dt$
for some $G$ satisfying
$\hspace{25mm}\int_{-\infty}^{\infty}|G(t)|dt < \infty$
Prove th... |
Imagine two random variables $X$ and $Y$ which are correlated with $\rho = 1$.
Both have a mean of $100$ and a standard deviation of $40$. Two other random variables $U$ and $V$ are correlated at $\rho=0.8$. Both have a mean of $0$ and standard deviation of $20$.
Now, I wonder if there is a formula to compute the co... |
I have a dataset that has abundance of different bacteria in different mice type. Let’s say mice are called: sw/c57, sw/sw, c57/c57 and c57/sw. The fecal samples of these mice have been analyzed and the number of present bacteria in their fecal samples is available. Now I want to find those bacteria that are significan... |
I am currently summarizing results from several groups of models.
Is it meaningful to report a mean AIC for each group of models? If not then how best to give a summary measure for each model group?
Some contributing factors
all models have the same number of parameters and structure
within each group, there are f... |
Is there any way to perform bivariate regression using pairwise deletion of missing values in R? na.action options in lm() do not offer such a possibility – the default na.action is na.omit, which is equivalent to listwise deletion. I already tried estimating the covariance matrix using pairwise deletion and then use t... |
I work at a hospital and have been asked to use statistical algorithms to identify an increase in Census which is really the number of patient days in a hospital. It has trended up about 15 percent in the past three months and we have not been able to identify why using basic descriptive statistics. I have dozens of fi... |
I used centering for my variables due to multicolleanirity and surprisingly the results (from before to after centering) changed for two interacted variables; one from significantly negative to significantly positive and the other from significantly positive to significantly negative.
I read that results normally chang... |
Suppose that I have a dynamic variable X that changes with time, and suppose that I know it's statistical distribution over a period of the last 10 years, and this dis. telling me that the most probable value for X is for example 90.
Now suppose that I have another statistical dis. of the same variable, but only for th... |
Studying the asymptotic distribution of order statistics I came across this approximation:
$$F \left( E \left[ Y_n^{\left(n \right)} \right] \right) \approx E \left[ F \left( (Y_n^{\left( n \right)} \right) \right] $$
where $Y_n^{\left( n \right) }$ denotes the sequence of the nth order statistics and $F(.)$ is the di... |
I am quite confused with the distinction between a latent variable and model parameters.
So say I have two observed variables $x$ and $y$ and they have some unknown relationship between them i.e. $y = f(x)$. Now based on that I have a generative model with $ y = f(x) + e$ where I model $e$ as zero mean independent and ... |
I have a Pandas data frame as follows:
Event Location| Number of events | %age success
A | 10 | 0.5
B | 2 | 1
C | 1 | 0
D | 100 | 0.3
E | 1 | 0
F | 1 | 1
...
...
The data represent the entire population of events. I am looking for a way to find Event Locations whose behavior is significantly different from others. Per... |
I performed two principal components analyses: in R and in SPSS - using the same dataset and the same variables. I got the same results - at least to some point. The eigenvalues are the same (I used the correlation matrix in both cases, no rotation), but the loadings are different.
I decided to take a look at some plot... |
The Beta distribution has the PDF:
$$f\left(x\right)=\frac{x^{\alpha-1}\left(1-x\right)^{\beta-1}}{\mathrm{B}\left(\alpha,\beta\right)}$$
for $0<x<1$, and $f(x)=0$ otherwise. The parameters $\alpha,\beta$ are positive real numbers.
The mean and variance are given by:
$$\mu=\frac{\alpha}{\alpha+\beta},\quad\sigma^{2}=\f... |
I have an outcome with right censoring like this:
y<-c(rep(2.83,3),
rep(3.17,4),
rep(3.83,4),
rep(4.17,5),
rep(4.83,8),
rep(5.5,3),
rep(7.17,5),
rep(8.17,7),
rep(8.83,12),
rep(9.5, 12),
rep(9.83,17),
rep(10.17,30),
rep(10.50,100))
where y=10.5 are right cens... |
Let's $x$ be a random variable with a binomial distribution ($x \sim B(n,p)$). I know that the expected value of a binomial is $E(x) = n \cdot p $ but the inverse of a binomial?
$E\big(\frac{1}{x}\big)$ = ???
EDIT
$Y \sim unknown$ and $X \sim B(n,p)$
$E\big(\frac{Y}{X}\big) = E(Y) \cdot E\big(\frac{1}{X}\big)$
|
Is it possible to use the Kruskal-Wallis test for two factors and their interaction (i.e., two way ANOVA: Y~a*b)? And which post-hoc test is possible to use after the Kruskal-Wallis test?
|
Is there a probability distribution for which the standard deviation is proportional to the mean?
More generally, I have been searching the web for a nice table comparing the properties of probability distributions (including mean and std). Any good reference?
|
Proper frequentist procedure says that we should establish a sampling plan, statistical analysis and significance level before we start an experiment. We then report whether or not we reject H0 for the chosen level of significance.
What if we do the same and don't choose the significance level beforehand. We simply loo... |
I'm trying to apply the bag of visual words approach to make scene classification. I started to use k-means to generate my codebook, but rapidly discovered its limitations. From one codebook generation to another, I get fluctuations of 10% on the classification ratio (data dimension: 8, number of clusters: 50). In addi... |
I need to conduct a permutation analysis on unequal samples, one (X) with 579 data points, and another (Y) with 1289 data points. There is an obvious difference in the data. However, this difference may be due to the imbalance between sample sizes. I need to run a permutation analysis using all possible pairs (combi... |
I have a numeric data sample with mean $\mu$ and standard deviation $\sigma$. I believe that this data has a normal distribution truncated to $[0,1]$.
Is there a reasonably simple formula for estimating the parameters $\mu', \sigma'$ of that truncated normal distribution? Is there an R command which does it?
I under... |
Let $X_1, X_2, ..., X_n$ be a random iid sample from a population with mean $\theta$.
Now I am wondering about the intuition behind $E(X_1| \overline X ) = \overline X$, the sample mean.
If we just consider $X_1$ (or any $X_i$ for that matter) we have that $E(X_1) = \theta$ as the expected value of any random observati... |
Question : In general, what is the effect of noise on an estimate obtained from Maximum Likelihood Estimation technique?
|
I'm looking to use the ACSI (American Customer Satisfaction Index) for a customer satisfaction survey. I'm confused by the explanation for how to calculate this. The survey is three questions:
What is your overall satisfaction with [our product or service]?
To what extent has [our product or service] met your expectat... |
The R function chisq.test allows a 'vector of probabilities' to be set with the p argument. Is there an equivalent for fisher.test()?
I'm trying to test whether there's a significant difference between the proportion of people in three unequally-sized groups who studied STEM subjects at university.
I get a Chi-squared ... |
I've been working on a project on measuring polls' accuracy in complex contexts (more than two candidates) where there are a small number of inaccurate polling data points.
I thought it would be the case to work on the probabilities instead of focusing on the real differences between the estimated and the actual vote.... |
I am in a scenario where I am trying to forecast 2014 call volume in a call center based on prior call volumes in 2013 and 2012. How do I difference 2014 call volume, and how do I lag 2012 and 2013 call volume so that I can run a statistically sound model? Also I have access to data on these call volumes by week and ... |
I am working with the distribution of the sum of two dependent random variables. In my problem, there are two unobserved events, X and Y, where X precedes Y and Y is a function of the outcome of X, but I only observe the sum of the two outcomes, i.e:
$$Z=X+Y|X$$
$$Pr(Z=x)=\sum_{z=0}^xPr(X=z)*Pr(Y=x-z|X=z)$$
It looks l... |
When calculating the coefficient of determination for a square, why is it that if you use the data set for the side length of as X= (1,2,3,4) and the perimeter as Y=(4,8,12,16) the Coefficient of Determination equals 100%.
But when doing the same calculation for using the area of the square with the X points (1,2,3,4) ... |
I have a question. If I found the effects of a variable is insignificant (p>.05), but the effect size d is 0.2 (small effect).
So I used GPower to calculate the power and I found it is 0.14, which means I need a larger sample size to get a significant results.
So is the hypothesis rejected or supported? because it will... |
This is something I was told.
However, it seems to me that parameters of a population can be functions of time, in certain situations, in which case the values of parameters could vary from sample to sample, if the parameter varies with time, unless the samples are all taken at the same time.
Or, am I missing somethi... |
Let $X$ denote a real-valued random variable with distribution function $F$ and characteristic function $\phi$. Suppose that $\phi$ satisfies the following condition:
$$\lim_{T\to\infty}\int_{-T}^{T}\phi(t) ~dt = 2.$$
What can be said about the distribution?
Attempt:
The distribution is symmetric across the $x = 0$ axi... |
I have a multiple regression equation where log(salary) = b0 + b1(ceotenure). What is the purpose of putting the dependent variable in logarithmic form? How would you interpret the change in y for a 1 unit increase in ceotenure?
For this multiple regression equation, what are the unit measurements for RMSE?
I have a s... |
This is question 3.8.4 of An Introduction to Mathematical Statistics and Its Applications, 5th Edition, by Larsen and Marx. This is not homework for a class I am taking now, but might someday be for a class I'll take in the future.
The goal could be expressed in terms of probabilities, to try and show that for every... |
Above is part of an examination paper. I am not sure how to understand this SAS output. Especially what is there in the last table which looks to me like two discriminant functions. Can someone help me understand this? And how do I use this to classify given some observation say $X_1=94$, $X_2=491$? Thanks
|
Suppose that X is a real-valued random variable. Suppose that there exists a constant M > 0 such that the support of X lies entirely in the interval $[-M,M]$. Let $\phi$ denote the characteristic function of X. Show that $\phi$ is infinitely differentiable.
If infinitely differentiable is equivalent to absolutely conti... |
I have a binary classification problem from several features. Do the coefficients of a (regularized) logistic regression have an interpretable meaning?
I thought they could indicate the size of influence, given the features are normalized beforehand. However, in my problem the coefficients seem to depend sensitively on... |
I cannot understand the usage of polynomial contrasts in regression fitting. In particular, I am referring to an encoding used by R in order to express an interval variable (ordinal variable with equally spaced levels), described at this page.
In the example of that page, if I understood correctly, R fits a model for a... |
I am simulating RM-ANOVA data with three treatment conditions (one-way within subjects designs). I would like to be able to add an effect to the data so that eta-squared has a specific value.
Imagine a more simple case for two independent groups and Cohen's d. Here, if I know both standard deviations in the two groups... |
I need to select the most appropriate hypothesis test to answer: "whether there is any difference between variable 1 (ordinal) and/or variable 2 (continuous) by group (binary)". This is a randomised study of just over 500 individuals.
Variable 1 is an ordinal scale of severity for the first event that occurred to each ... |
I am trying to work out is there is any association between occurrence or not of an event in around 500 individuals and their randomised binary grouping (intervention vs placebo). However I also want to see if this holds true when broken down by one of 5 locations in which the individuals were treated.
A chi square te... |
As I know Naïve Bayes has various distributions, as said in Sci-kit learn manual:
The different naive Bayes classifiers differ mainly by the assumptions they make regarding the distribution of $P(x_i \mid y)$.
So, there are various methods of Naïve Bayes like, Gaussian NB, Multinomial Naïve Bayes, and I found Sci-... |
What are the limits of a zero-inflated regression? Specifically, if more than 80% of the data is zeroes, is the ZINB still valid? What is a good rule of thumb or educated way to understand the right threshold for the number of zeroes?
|
I have a dataset which contains missing values, and I'm using imputation packages (Rs mi and mice) to fill the missing values. I'd like to measure their performance on my data set, which may look like this (my actual data has more rows, but this example should serve just fine):
"var1" "var2" "var3"
0.183689466952776 ... |
I have $N$ samples $x_i \sim p(x|y)$ for $y = y_0$.
I don't know apriori what $y_0$ is but I know its a fixed value.
I do not have the analytic form of $p(x|y)$, $p(y|x)$, $p(x,y)$.
Instead I have discrete probability lookup tables(that I can interpolate).
How can I now infer $y_0$?
I originally thought I could just s... |
I am using Support Vector Machines from "e1071" package in R.
For standard IRIS data the code is:
data(iris);
attach(iris);
x <- subset(iris, select = -Species);
y <- Species;
model <- svm(x, y)
After that using function predict() I can get a prediction with the trained model for any data from the test Set.
However th... |
I would like to compute tail probabilities of the standardized multivariate normal distribution for different dimensions. For example, in the case of bivariate normal I need to compute the gray area on the figure pasted below (In this particular case, the area is defined by $\mathbf{x} > 2$.)
I found somewhere (but un... |
Suppose that $X$, $Y$, and $W$ are random variables. Also consider the random variable $Z=XY$. I am interested in comparing the Pearson correlation coefficients $\rho(Z,W)$ to the correlation coefficients $\rho(X,W)$ and $\rho(Y,W)$. I have a data set where the correlation coefficients seem to roughly obey
$$\rho(Z,W) ... |
The PDF of the generalized Beta distribution in the interval $[A,B]$ is defined as:
$$f(x) = \frac{(x-A)^{\alpha-1}(B-x)^{\beta-1}}{(B-A)^{\alpha+\beta-1}\mathrm{B}(\alpha,\beta)}$$
for $A<x<B$, and $f(x)=0$ otherwise. Here we assume that $\alpha,\beta>1$ and $A<B$.
Consider a PDF which is the product of PDFs of genera... |
Murphy writes that a multivariate Gaussian used in a generative classifier ("Gaussian discriminant analysis"), i.e.,
$p(\mathbf x|y=c,\mathbf\theta) = \mathcal{N}(\mathbf x|\mathbf y_c,\mathbf \Sigma_c)$, is equivalent to Gaussian Naive Bayes if $\mathbf \Sigma_c$ is diagonal. This makes sense to me since GNB assumes i... |
I'm calculating odds ratios using the following model. I need to know what the last note means. I have stated the levels for odd ratios for the levels I'm interested in, so I don't know what SPSS means when certain variables are "fixed" at certain values. I haven't specified these requirements, so why are the fixed?
CS... |
I have an imbalanced data set with 12 classes and want to use cost sensitive ensemble for classification, but I don't know how to calculate cost matrix for the classes.
My question: what costs should I insert in cost matrix and how to calculate it for cost sensitive meta classifier in WEKA?
|
In some binary classification problem I assume that the probability for a positive is exactly linearly dependent on the features $P(y=1|x_1,x_2,x_3,\ldots)=\beta_1x_1+\beta_2x_2+\beta_3x_3+\cdots$. Now for the training I only observe the realization 0 or 1 for $y$. Therefore the probability isn't directly observable, b... |
Does the equation below have a name, or is it similar to some other well-known process/ equation?
Equation of interest:
$$S_c = S_{c-1} + S_{c-1}\omega_c\delta_c$$
$\delta\sim\mathcal{N}(0,1)$ is a standard normal shock
$\omega\sim\mathcal{B}(1,~0.5)$ is a coin flip with a 50% chance of being 1 (0 otherwise)
$c=(1,~2,~... |
I have energy consumption data from a device for the past two weeks.
I have to predict energy consumption of this device for another week.
I am not sure how to forecast this.
Does anybody know how to do that?
If there a way to do that in R? I've just started learn the R language.
|
Ok, almost all applications I have seen that use HoG features use linear svm as classifier. Can someone explain for me why linear svm are chosen and why they give good performance?
Are linear svm chosen because it more simple and easier to train than svms that use polynomial or gaussian kernel and using these kernels i... |
Since I found an insignificant result, I performed a power calculation in G*Power. But I am not entirely sure if I input the right number in some fields.
My design is a 2(between Ss) x 2(between Ss) design, so I have 2 variables, 4 different conditions (20 participants in each one). I ran an univariate test in SPSS.
... |
I read the following statement in this document$^{[1]}$, at the bottom of page 11:
Too wide A will some times “hide” the burn in part within the converged part of the chain and the difference in means may not be large enough for the diagnostic to give an indication of non convergence.
where A is the first window in G... |
I've got a question.
I am dealing with medical data which contain 5 predictors and 1 binary outcome. When I try to classify the data using all 5 predictors I get 0.84 area under roc-curve which is quite good for me. However when I consider confidence intervals for these 5 parameters, I see that just 1 of them is signi... |
As I understand a random variable represents all possible outcomes of an experiment with their associated probabilities. Why $X^2$ is understood as squaring outcomes of experiments instead of as multiplying the results of two identical experiments?
Let's X be a throw of a die.
I've seen examples where expected value ... |
Studies indicated that drinking water supplied by some old lead-lined city piping systems contain harmful levels of lead. It appears that the distribution of lead content readings for individual water specimens has mean .033 mg/L and SD .10 mg/L.
Explain why is it obvious that content readings are not normally distrib... |
Pardon my ignorance, for I have very basic training in statistics, but have never taken a regression course.
I ran an experiment where participants are in one of two conditions (between subjects). They categorized an object that had values for rotation and spacing, both ranging from 1 to 100. Each participant saw 40 o... |
I have data from an experiment in which participants had to respond to stimuli in two different conditions in a within-subject design. Obviously, I can fairly easily test for differences in accuracy between the two conditions. However, my initial idea was to check for differences in reaction times. When a subject incor... |
I have a sample of 12,500 observations and 12 explanatory variables. I want to build a pruning decision tree, to do that I am using the rpart function and then the prune function. My problem is that I am not sure how to build the full tree, I am using
rpart(*, *, *, control = (minbucket=x, minsplit=y, cp=z))
# the * ar... |
I want to display the results of two different predictors' performance on a dataset. I have a confusion matrix for each of the predictors' results on the test cases. I want to present these confusion matrices in an academic publication (focusing on the false positives difference between the two). These matrices are 2x2... |
I am trying to evaluate an information retrieval approach. More specifically, it's a query expansion algorithm, based on topic distribution in retrieved documents.
I want to evaluate my approach using the world wide web. Since most (all?) evaluation approaches use a test collection, where the whole corpus is known, I a... |
I'm trying to use LIBSVM's single class SVMs for some classification and need to extract the following sum post classification (i.e. the variable that the decision function takes in)
$$
\Sigma_{i=1}^{N} \alpha_i K(z,z_i)
$$
I'm not too sure on this so I just want to check that I have the right idea, but could I calcula... |
As I understand, there are two ways to compute Kendall Tau for a data matrix $X$ (n rows of data points in $\mathbb{R}^p$):
corr(X,'type','kendall')
http://www.mathworks.com/matlabcentral/fileexchange/27361-weighted-kendall-rank-correlation-matrix/content/kendalltau.m
The latter works very, very fast for "small" $X$ ... |
I have a random number generator that generate integers within [0, r).
I want to write a piece of code to test whether the numbers from it are truly uniformly distributed using chi-square test.
I select r to be very big like 1,000,000, and I generate random integers 10,000,000 times. Then I get the X^2.
The next thing ... |
I've been trying to learn more about online learning lately (it's absolutely fascinating!), and one theme that I haven't been able to get a good grasp on is how to think about model selection in offline versus online contexts. Specifically, suppose we train a classifier $S$ offline, based on some fixed data set $D$. We... |
The data generating process is given by the following differential equation:
$y(t) = a + b u(t - \theta) + c \frac {dy} {dt}$
Now imagine having as data a long time series for both $y$ and $u$.
If $\theta$ is known, this is an easy linear regression. But is there a "correct" procedure when the delay $\theta$ is unknown... |
Asymptotic results cannot be proven by computer simulation, because they are statements involving the concept of infinity. But we should be able to obtain a sense that things do indeed march the way theory tells us.
Consider the theoretical result
$$\lim_{n\rightarrow\infty}P(|X_n|>\epsilon) = 0, \qquad \epsilon >0$... |
To do a meta analysis, I try to calculate effect sizes. In an article by Shah and Ward, the authors do a regression analysis after combining various factors by a CPA to four factors. The factor loadings are provided in the article. The beta coefficients for these four factors regarding operational performance (a factor... |
I have a 2x2 factorial unbalanced between-subject design, n = 355. My DV is a subjective probability estimate (i.e., a number between 0 and 100).
My ANOVA model:
aov1 <- aov(prob ~ utility * imagination, data = e3nndata)
To check for homoscedasticity I used Levene's Test, which was highly significant:
library(car)
l... |
I am a beginner in R. I am using the plm package and I want to know the easiest way to get cluster robust standard errors for the fixed effects estimator. My data (called Mydata) is on poverty, GDP, investment, and education in 130 countries over 33 years, and my index in plm is country and time. My model is something ... |
I've read multiple posts on model fitting using lmer(), but I saw multiple versions of using the error term which made it confusing for me. I have a factorial design with 2×2×2 with one between and two within factors. I do an eyetracking task in which participants are in one of two sound conditions (cond). Each partici... |
I have some concerns regarding factor analysis and especially about combining the factor analysis for an ordinal scale (categorical data) - CATPCA with conventional PCA.
Basically, I need to enter my set of variables in CATPCA, take the transformed variables from CATPCA and introduce them in conventional PCA (because, ... |
I have a question about model selection when using AIC/BIC. So, if two model structures are totally different, can I still directly apply AIC and BIC?
Also, for a hierarchical model, how to compute the total number of parameters when computing AIC and BIC?
Thanks.
|
When I use GLMs I can use the option family="Gamma" for analysing data consisting of positive real numbers. Also package gbm provides a large number of distributions to choose from, but there's none that matches the gamma distribution. Which distribution should I choose?
|
"Independent" variables: time spent (% at work, % sleeping, % exercising), body mass composition (% fat, % muscle, % bone)
Dependent variable: Smoker (1) or Non-Smoker (0)
What kind of regression model should I use when subsets of the "independent" variables are percentages and are therefore not completely independent ... |
I'm trying to solve an exercise (not homework, and it does not come with solutions) that asks to provide an algorithm to simulate a probability $P(Y<y)$ and the expected value $E[Y]$ of a random variable $Y$. Also the algorithm must have a fixed number $N>0$ of steps (number of pseudo-random $\rm Uniform(0,1)$ variable... |
I have what is a very basic question about meta-analysis. If data from individual studies about the relationship of interest are presented in both bivariate and multivariate analyses, which should I use? Would it be appropriate to calculate effect sizes based on multivariate analyses (e.g., adjusted odds ratios), or sh... |
I am doing Text classification using LibSVM in Rapid Miner. I am using TFIDF values for processing documents. I need to Increase weightage of some terms in the documents(for eg. words in BOLD and CAPITAL letters). How can I achieve that using TFIDF values? If TFIDF is not the correct way, can anyone suggest some ways t... |
I'm trying to derive that the variance of phat = pq/n. I'm unfortunately not getting that. Please tell me where I'm going wrong...
phat = x/n, where x is the # of successes in your trial and n is the number of samples
var(phat) = E[phat^2]-(E[phat])^2
= E[x^2/n^2] - p^2
= 1/n^2 * E[x^2] - p^2
//E[x^2] seems l... |
The short version:
I can fit a model using Weighted Least Squares, given a diagonal matrix of weights $W$, by solving $(X^TWX)\hat{\beta}=X^TWy$ for $\hat{\beta}$.
Is there a GLM analogue? if so, what is it?
There seems to be a GLM analogue, e.g. with the weights argument in R's glm function. How is R using these weigh... |
I have an (offline) advertising campaign that I'm running in one city. I'm trying to figure out how to answer the following questions:
What are the chances that the advertising campaign has no positive effect?
What are the chances that the advertising campaign increased sales by at least X%?
I have historical monthly... |
My Little's MCAR (missing completely at random) test on 74 items and 151 cases revealed
chi-square = 27.120, DF = 1974, and sig. = 1.000.
Can I conclude that the data were missing completely at random since the p-value is not significant?
And, is there any issue with my p-value because I thought it was impossible to... |
Suppose in an Xbar chart, k successive points plotted outside a control limit indicates an out of control situation. If p is the probability of plotting a point outside a control limit, how is ARL = $(1-p^k)/(p^k (1-p))$?
|
Does it matter if a dependent variable has a normal distribution or not when it is used in a regression?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.