instruction stringlengths 9 38.7k |
|---|
Assume I have an equation with 1 endogenous variable, and many other exogenous variables. Also assume I have 2 valid instruments for the endogenous variable for IV estimation.
If I were to estimate this equation by OLS estimation and IV estimation , would I expect the sign of the EXOGENOUS variables and statistical sig... |
Since it is not easy to apply a Multivariate Kolmogorov-Smirnov test for two samples, I thought: is it possible to compare the different statistics with the univariate KS?
For example:
Object 1: statistic 1, statistic 2, etc.
Object 2: statistic 1, statistic 2, etc.
If I want to check if these 2 objects are the same, c... |
I'd like to be able to determine a) how much and b) why a non-random sample “differs” from the population (there's probably a better word than “differs”; I was tempted to use “does not represent” but since “representative” has many different possible meanings, I stuck with mine). In other words, given any sample (not r... |
I was curious whether it is possible to obtain approximation error bounds on continuous densities from approximation error bounds of random variables.
To make my question more precise: We consider two continuous random variables $X$ and $Y$ defined on the same probability space $(\Omega, \mathcal{F}, \mathbb{P})$ with... |
I have recorded on a continuous scale (between 0 and 15) the strategy some players used in a video game and their associate payoff (also interval-ratio) in this game, so I have lots of couples of values like (2.34,12), etc.
I would now like to have an idea of what strategy brings the highest payoff in the game, or what... |
Scenario:
I have a system that issues requests to another system.
Each of these requests have a probability $p$ of requiring a specialized resource.
The probability $p$ can be estimated using a Poisson distribution.
If a request completes and none of the specialized resources are available, the request is considered FA... |
I am reading and trying to learn about the probability integral transform and some of its uses. From the CV question PIT on a sample with m bins, and KS test used to estimate a good value for m, the probability integral transform of random variable $X$ with size $n$ looks very simple:
$$U_{i} = \frac{R_{i}}{n+1}$$
wher... |
I have done some searching on the topic and I know the answer is mainly "it depends". BUT, I haven't found anything stating general relationships regarding size of data and number of hidden layers. For example, I'm working with 45-dimensional data, is there any "rule of thumb" regarding a ballpark estimate of hidden la... |
I have body mass and age data for a population of individuals. I want to fit a cubic smoothing spline curve to the data. I'm using smooth.spline in R, which warns against using cross-validation to select a smoothing parameter when there are duplicate points in x, which I have. I have seen the suggestion to set cv=FALSE... |
I had a discussion about covariance recently and it would be nice to hear your feedback about this.
Let's say we have a dataset of $n$ samples with $d$ attributes.
For simplicity, let's say 3 of those $d$ attributes are e.g.,
$d_1$ = distance in miles
$d_2$ = temperature in Celsius
$d_3$ = elevation in meters
Now, l... |
I have several time-series in a VAR(1) and, due to some of them haven't the same unit of measure, I'd like to estimate the RMSE in percentage.
I know that it could be done in several ways (see below) but I don't know precisely which is the one that fits better a forecast evaluation problem. I hope you could help me.
... |
Let $ X_1, ... , X_n $ be i.i.d random variables with pdf given by
$$f(x;\theta) = \exp(-(x-\theta))I_{(\theta, \infty)}(x)$$
It is asked to find a sufficient statistics for $ \theta $ and to verify if it is complete too. Since
$$L(\theta;x)=\exp(-\sum x_i) \exp(n\theta) I_{(\theta, \infty)}(x_{(1)}),$$
by the factoriz... |
I want to list the advantages and disadvantages of Neural network methods for classification or estimation purposes. I have already found the advantages of NN method in many papers. But they didn't write anything special about disadvantages of NN method as it was their own proposed method ;) . I guess they have some d... |
How do I detect the number of significant modes in a set of data? I have a set of 1 dimensional data where the number of modes are unknown. I'm familiar with python and scikit learn so I use the Kernel Density Estimator module to create a gaussian function of the data. I detected the maxima and minima by looking at ... |
What exactly does it mean to "regress out" a variable or quantity? This is something I hear about all the time, but it's strangely difficult to find a precise description online. Any pointers - especially to algorithmic descriptions - would be much appreciated.
|
I wanted to pin down what the intuitive phrase:
r.v. X influences r.v. Y
as precisely and as rigorously as I could, and wanted to check if my interpretation was correct and complete with the community.
The way I interpret that phrase is as the following:
X influences Y if any observation (or realization) of the r.v ... |
I have a distribution whose mean $\theta \in [0,1]$. Given $n$ observations, I compute the sample mean (say $\hat{\theta}$) and quantize it to accuracy $\frac{1}{n}$ (basically I can use only $\log{n}$ bits to communicate this sample mean). Let us call the quantized version of $\hat{\theta}$ as $\hat{\theta}_q$. I want... |
I was trying to fit several mixed linear models, however for 2 (out of 4) I am getting quite strange results.
The point is that I've collected data from two courses (a few students were the same in both courses). The idea is to predict students' position in social graph based on certain linguistic characteristics. Grap... |
I am wanting to know what type of statistical test would need to be carried out to determine if there is a correlation between one categorical variable and one continuous variable.
|
Suppose I am training a linear model. What are the conceptual differences between using a diagonal covariance matrix and the identity? It is clear to me that the difference between a full covariance matrix and a diagonal covariance matrix is that there is no correlation between predictors with the diagonal matrix. I... |
Software for fitting random effects models tends to output values for the random effects. For example, suppose the model is
$$y_i = \alpha_i + \varepsilon_i, \qquad 1 \le i \le n$$
where
$$\alpha_i \sim N(\mu_\alpha, \sigma_\alpha^2)$$
and
$$\varepsilon_i \sim N(0, \sigma^2)$$
If you fit this with software, you will ge... |
Please any help is very good. I was trying to start with the definition of expected value but I don't know how to finish.
|
I have one sample group. (I know my test statistics is nonparametric.)
My null hypothesis is a CI and alternative is ~ .
What is your idea for testing this hypothesis?
|
I am evaluating whether the prevalence of a specific infection in the ICU bears a relationship to the nurse:patient ratio over time.
The infections are whole numbers (nominal variable)and the nurse: patient ratio is also a number (ratio variable).
|
We come to this toy example showing MAPE and MASE are not consistent when measuring forecasting accuracy.
Data consist of 100 white noise and 100 $AR(1)$ time series with length $N=500$, mean $\mu=1$ and standard deviation $\sigma=1$.
# parameters
N <- 500
mu <- 10
sigma <- 1
# generate white noise
set.seed(1)
WNts ... |
I have read similar posts to this but my problem is not resolved by the answers given. I want to do a v simple linear regression to see if bite incidence is related to district, zone (vacc or control) and year. As you can see in the output one of the districts RORYA is given NA coefficients, and I get the message "Coef... |
I'm relatively new to statistics, and am currently working some data collected as a part of an interview survey. I have a response variable in ordinal form, which mostly looks into people's perceptions of an animal, and a range of predictor variables that include discrete numeric, ordinal and binary variables. I have a... |
4 six-sided dice are rolled independently. Compute the normal approximation with continuity correction for the probability of rolling a total of at most 6.
I have arrived at a point where I got that it is equal to pnorm(5.95,(3.5*4),sqrt(4*35/12)) but I have a feeling I have gone wrong somewhere...
|
I regularly use permutation tests and love their simplicity. I've learned most from the book "Resampling methods" by Good, in which the author seems quite creative in his choice of test statistics throughout the examples. Also this post gives the impression that there is a large freedom to choose a test statistic.
I ... |
I have a data.frame that looks like this:
> head(mydata)
model scenario iso3c year feelecpc gdppc popdens t
EDGE history AFG 2002 0.0001057354 1052.958 3.404137e-05 2002
EDGE history AFG 2003 0.0001373833 1096.756 3.544170e-05 2003
EDGE history AFG 2004 0.0001289229 1066.685 3.682548e-0... |
Is there any alternative (like Cohen's d in t-test) to report about effect sizes for post-hoc paired comparisons in a one-way ANOVA (3 factor levels, correlated samples)?.
Many thanks!!
|
Is there minimum sample size for each group in 1-way ANOVA? if yes, please give a reference(s), If no, why there is not?
|
I am very new to statistics and is currently performing binary logistic regression analysis to test null hypothesis for my dissertation.
First, both my independent variables and dependent variable are dichotomous (0, 1).
The dependent variable for the analysis is whether or not the respondents got attacked by cyberstal... |
The notification after the ANOVA table after K-means analysis indicates that significance levels should not be looked at as the test of equal means, as the cluster solution has been derived based on Euclidean distance to maximize the distance.
What test should I use to show whether the means of the clustering variable... |
Let $X=(x_1,\ldots,x_n)^\top\in\Bbb{R}^n$ be a random vector that follows a multivariate Gaussian distribution with known mean vector $\mu=(\mu_1,\ldots,\mu_n)^\top\in\Bbb{R}^n$. The covariance matrix $\Sigma$ is unknown, and we want to estimate it if it known that the random vector $X$ is composed as follows
$$
x_t=\m... |
I am planning to do time series prediction using support vector Machine. I could not find any materials about time series application of support vector machines using R or Mat-lab. Similar question was asked earlier but no answer.It would be great if anybody can help to solve this issue with some examples.
Thanks
|
I am trying to cluster a biological population on the basis of morphological characters using UPGMA clustering method, but I am not sure which distance should I use- Mahalanobis or Euclidean. What are the benefits of using the two distances and when to use them in reference to biological population clustering using mor... |
There is an example given on the Scikit-Learn site that compares the bias-variance decomposition of the rmse of a single SVR model against a bagging ensemble. Unfortunately, the data is being generated through a function f(x). My question is how I could make it work on a real regression example for which I have an arra... |
For a given set of random variables, $X_1,...,X_n$ we know that in many cases finding the maximum of the pseudo likelihood: $$PL(x_1,\ldots,x_n) = \prod_{i=1}^n p(x_i | x_1,\ldots,x_{i-1},x_{i+1},\ldots,x_n)$$ gives a consistent estimator. Is there anything known about "marginal" pseudo-likelihood, i.e. is the global m... |
I don't know how to resolve this (easy) exercise. I've calculated the first output. But I don't know if it's correct.
Calculate arithmetic mean, variance (standard deviation^2), concentration and asymmetry
INPUT:
Class Relative Frequency
10-25 0.48
25-40 0.25
40-60 0.15
60-100 ... |
Should be an easy question but Google failed me.
When using ANN for series forecasting one often uses may variables. For instance the number of shoppers might be determined by the previous number of shoppers and the previous weather conditions.
I have only ever seen ARIMA models used with one variable i.e. the number ... |
First post here.
I'm pretty much a newbie both in statistics and using R, but nevertheless trying to fit a linear mixed model with the package nlme. My question is about transformations/variance functions. Pretty basic stuff I suppose, but I cannot find any good sources clearly explaining the concept. Also I recognize ... |
I have a set of tables containing mortality rates (hazard rates) and I want to see how well these values reflect the influence of the covariates (age, sex, issue year, etc.). I also have
actual mortality experience.
I was thinking of using a Poisson regression with the independent variables being the covariates plus ... |
I have a very rough understanding of the Dirichlet distribution and already seen some visualizations of its pdf over the 2-simplex, i.e., $\alpha$ is a 3D vector. However, I still do not understand the following statements that I have been frequently encountering with
Dirichlet distribution is a distribution over a mu... |
I am trying to perform Mann-Whitney test on a real data set using scipy. I extracted an example where the problem occurs. It seems that the function tiecorrect returns negative value which is the source of problem in my opinion. Here is my case
import scipy.stats
x = [1.] * 163 + [2.] * 81 + [3.] * 40 + [4.] * 6 + [5.... |
I am trying to apply graph cut method for my segmentation task. I found some example codes at
Graph_Cut_Demo.
Part of the codes are showing below
img = im2double( imread([ImageDir 'cat.jpg']) );
[ny,nx,nc] = size(img);
d = reshape( img, ny*nx, nc );
k = 2; % number of clusters
[l0 c] = kmeans( d, k );
l0 = reshap... |
I have a survey where teachers are responding "yes" or "no" to lists of activities that they did in their classroom. There are separate checklists related to separate parts of the curriculum (e.g., reading, group activities, individual activities).
I want to find out if the proportion of "yes" responses is equal acros... |
I had following question in my questionnaire:
Rate the following factors: price, quality, advertisement, brand, reference from 1 (very important) to 5 (least important) that may have influenced your buying decision process.
Which approaches may be used in order to measure the most important factors?
I think cluster ana... |
I have about 5,000 responses to a survey in which users were asked how strongly they agreed with a statement on a 5-point Likert scale. This response is my dependent variable - I want to find out what influences this answer.
In the same questionnaire, the users gave a lot of other data, including age, employment, gend... |
I have a neural network which uses input features $N$, some input layers $L$ which predict a continuous variable $X$. Can we say which features or combination of 2 features of the initial $N$ features contribute the most to the change in $X$?
Example: Suppose I am trying to predict the house prices on basis of number o... |
I'm confused with the widely used approach to compute the normalized cross-correlation which is something like this:
Standardize the argument vectors (of equal length $n$).
Slide one over the other computing the dot-product of the intersection (correct at least for real vectors).
Optionally, define 95% confidence inte... |
Let $(X_1, X_2, \ldots, X_i, \ldots, X_k)$ be $k$ independent, normally distributed random variables with means $\mu_i$ and variances $1$. Then the random variable
$$
\sum_{i=1}^k X_i^2$$
is distributed according to the noncentral chi-squared distribution with parameters: $k$ and $
\lambda=\sum_{i=1}^k \mu_i^2$.
If ... |
I have a handful (~5) of values x I need to plot against a handful of values y (actually, log(x) vs. log(y)), in order to derive a linear equation used to derive an empiric power equation. However, I want to compute an error bar for the coefficient/power (e.g. x^(-3.5+-0.2)).
Here's the problem: Each value x, y has a u... |
I was considering an interesting situation. Imagine you are playing poker against someone who is always raising in a tournament game (both start with a stack of chips, and win when they have the other persons chips). We are talking pot limit omaha. This means that people get dealt 4 cards, and they are supposed to make... |
I have a set of 3 years of daily data. I saw weekly and annual seasonality in the data so I used msts time series and tbats (from the forecast package in R) to fit the best fitted model.
The predicted values for weekdays are with 5% of the actual data but it has very off predictions for weekend. I did not expect that ... |
I have 4 years of daily data. there is a decreasing trend for the data for the first 3 years but the trend increase for the 4th year. I wanted to find a fitted model using the first 3 years and then test the model for 4th year but I think I can not do so as the best fitted model shows a decreasing trend and predicts th... |
Today I taught an introductory class of statistics and a student came up to me with a question, which I rephrase here as: "Why is the standard deviation defined as sqrt of variance and not as the sqrt of sum of squares over N?"
We define population variance: $\sigma^2=\frac{1}{N}\sum{(x_i-\mu)^2}$
And standard deviati... |
I am trying to generate a data frame of fake data for exploratory purposes. Specifically, I am trying to produce data with a binary dependent variable (say, failure/success), and a categorical independent variable called 'picture' with 5 levels (pict1, pict2, etc.). I am following the answer provided here, which allows... |
Assume we have a distribution D, and a random variable X from this distribution. We want to estimate E(D) through X. Obv E(X) is an estimator for E(D). The question is that does the MSE (=mean squared error) of estimator decreases if we shrink the estimation a little bit? Let's call m1 = E(X) and m2 = E(X) - eps then i... |
I'm interested in estimating an average treatment effect
$$
\operatorname{ATE}\left(A', A''\right) = \mathbb{E}\left( Y\ |\ A'' \right) - \mathbb{E}\left( Y\ |\ A' \right)
$$
with a generalized linear model (GLM), and I would like to know if that treatment effect is significantly different from zero. However, I don't t... |
I'm trying to understand what the assumption of independent observations means. Some definitions are:
"Two events are independent if and only if $P(a \cap b) = P(a) * P(b)$." (Statistical Terms Dictionary)
"the occurrence of one event doesn't change the probability for another" (Wikipedia).
"sampling of one observa... |
I'm having difficulty understanding the following problem. It seems like it is a two stage cluster sampling problem, but then the defective red lightbulbs make the question even more difficult.
I'd really appreciate it if someone could point me in the right direction in terms of the correct formulas to use.
Problem:
A ... |
I am in a bit of quandary with a research project:
I have to compare and contrast the epidemiological picture of homicide with the media coverage of homicide in a specific geographic area and time-span. Now I'm using Poisson regression to work out the OR of a crime being committed (male vs.female, black vs white etc.) ... |
I am studying convolutional neural networks (CNNs) due to their applications in computer vision. I am already familiar with standard feed-foward neural networks, so I'm hoping that some people here can help me take the extra step in understanding CNNs. Here's what I think about CNNs:
In traditional feed-foward NNs, we... |
This question may be too basic. For a temporal trend of a data, I would like to find out the point where "abrupt" change happens. For example, in the first figure shown below, I would like to find out the change point using some statistic method. And I would like to apply such method in some other data of which the cha... |
I want to check the effect that a categorical between-subjects factor A and a continuous predictor B has on a certain dep. variable. I created an ANCOVA with A as a factor and B as a covariate. This should tell me whether there is a main effect of A on the DV, but is this ANCOVA the correct statistical model to use in ... |
I am trying to teach myself maximum likelihood estimation using the Newton-Raphson method and related iterative methods. I don't understand the link between the hessian, the expected value of the hessian, the information matrix, and the expected information matrix.
Most resources say that you can compute estimates of ... |
I am doing a multiple regression analysis and my focus is finding the best set of independent variables for prediction. I am starting to know my dataset and the behavior of each variable. I am doing a residuals analysis (with a great help of R) and my question is about the meaning of the residual plot for one of these ... |
The Glivenko-Cantelli Theorem states that if $F$ is a distribution function, $X_1,\dots,X_n \sim F$, and $\hat{F}_n$ is the empirical distribution function, then
$$\sup_{x \in \mathbb{R}} \lvert \hat{F}_n(x) - F(x) \rvert \xrightarrow{a.s.} 0 . \tag{1}$$
How does this differ from simply stating the following?
$$\hat{F}... |
I'm working on a local outlier factor implementation based on the wikipedia entry :
http://en.wikipedia.org/wiki/Local_outlier_factor
This article seems to explain it in just two dimensional data. But what gaurantees that
the algorithm still works for higher dimensional data ?
I've seen this same principal used in ot... |
I am trying to model a set of data I have physical reason to believe can be represented by a bimodal normal cumulative distribution function (Technically it is a bimodal log-normal CDF, but I think I can handle transforming the predictor by log(x) ). I can successfully find the best fit to the data using MLE, e.g. $$ \... |
Let $\mathbf{y_1, y_2}$ be standardized $N \times 1$ column vectors, such that $\mathbb{E}\mathbf{[y_1]}=\mathbb{E}\mathbf{[y_2]}=0$, $\text{Var}\mathbf{[y_1]}=\text{Var}\mathbf{[y_2]}=1$.
Furthermore, suppose that $\mathbf{y_1, y_2}$ are correlated such that $\text{Cor}(\mathbf{y_1 ,y_2}) \frac{\mathbf{y_1^Ty_2}}{\sq... |
I fit a model with a factor with many levels and it takes R a really long time to fit that model. Why is this?
For example, if I fit a regression to predict players' salaries, and include a factor predictor for all the players' respective nationalities, that would take a longer time than fitting a model for players' sa... |
I want to test if the means of different groups (tissue types) are different using one-way ANOVA. Most of the groups have replicates but there is one group that only has one sample. Like this:
heart, heart, heart, skin, skin, skin,skin, bone, bone, bone, brain
In the above example, only one sample/data point for brain ... |
I have been reading the odds tutorial on UCLA's stats page. And I am trying to figure out if my interpretation of the results below is correct. Based upon looking at the data the results seem to hold true.
Variables to Predict Submit or Cancel (1,0)
DummyServiceA: Binary
DummyServiceB: Binary
DummyServiceC: Binary
AT... |
I was comparing data between two groups and for each group there was six samples.
My data are as follows:
group 1: 103.56, 103.32, 103.32, 104.27, 103.56, 103.8
group 2: 97.16, 97.16, 96.69, 98.58, 90.76, 97.64
I ran one way Anova and also kruskal-Wallis test for both the groups. The p-value from Anova was much smaller... |
I have been using scikit-learn's LDA implementation to do some experiments, and recently wanted to test out some modifications to the LDA derivation. I was looking at the Python implementation that scikit-learn uses, and it was nearly unrecognizable given that I'm used to seeing LDA as maximizing the scatter between c... |
I ran a survey. People first answered a multiple selection question - they could select as many of the choices as they wanted. The question asked them their purpose for visiting a website (for example, purchase an item, read reviews on an item, compare prices, browse for items, etc).
They were then asked to numerically... |
I'm looking for some advice on directions to head into a project I'm working on.
I want to identify general groups (of varying size) in a 2-D grid of points belonging to one of three categories: red, blue or empty. I'm not completely new to machine learning, but not familiar enough with the variety of methods to know ... |
I'm doing an independent study in Bayesian Statistics following some chapters from BDA3. When solving the first question from Ch 10 I got stuck. It says:
[If] a scalar variable $\theta$ is approximately normally distributed in a posterior distribution that is summarized by n independent simulation draws [,] how larg... |
In implementations of the Metropolis-Hastings algorithm, how is the target distribution $\pi(\mathbf{x}) = P(\mathbf{x}|\mathbf{e})$ computed or estimated while computing the acceptance probability $\alpha(\mathbf{x'}|\mathbf{x}) = \min \left(1,\frac{\pi(\mathbf{x'})q(\mathbf{x}|\mathbf{x'})}{\pi(\mathbf{x})q(\mathbf{x... |
Based on the readme file in the libsvm package. The svmpredict matlab version function is used in the following way:
[predicted_label, accuracy, decision_values/prob_estimates] =
svmpredict(testing_label_vector, testing_instance_matrix, model [,
'libsvm_options']);
The return value "accuracy" is always a three... |
If a coin is tossed 3 times, there are 8 possible outcomes:
$$\text{HHH, HHT, HTH, HTT, THH, THT, TTH, TTT}$$
In the above experiment we see 1 sequence has 3 consecutive H, 3 sequences have at least 2 consecutive H and 7 sequences have at least a single H.
Suppose a coin is tossed $n$ times. How many sequence will ... |
I wish to test whether a spline-based smooth could be replaced by a linear term. I am using the mgcv package in R.
Using the example from the helpfile:
require(mgcv); n <- 100; set.seed(2)
x <- runif(n); y <- x + x^2*.2 + rnorm(n) *.1
## is smooth significantly different from straight line?
summary(gam(y~s(x,m=c(2,0))+... |
The dependent variable is Binary data and independent variables are ranks from 1 to 5.
What method should I use in order to examine the relationship between these variables?
I am analyzing survey data from a questionnaire that asked about who did or didn't buy a certain product. Also it was asked what factors (price, ... |
I have two data sets with y and X1,X2,X3,....,X6 all Xi's are independent variables and y is dependent variable.
Instructor said that one data set will follow linear regression and other will follow non- linear regression
I don't have any clue about this, how to check it (linearity/ Non-linearity) with my dataset no
|
I have to task to predict data volume to be processed for a study that currently has 40 patients, but will have 100 patients eventually. Since most of the data is generated during the treatment phase, i would like to focus on this phase.
For these 40 patients, i calculated the time to end of treatment (censoring patien... |
If you have an exponential regression of the form log(y) = b0 + b1x with predicted equation ŷ = 10^(b0 + b1x) and you need to check for hetereoscdasticity (comparing residuals with fitted/actual values) how do you calculate the residuals?
What i do is to get the log(y) where my y is the actual/dependent variable, and ... |
How do we perform residual analysis (verifying homoskedasticity, normality and independence of errors) for weighted linear regression? By weighted, I mean each row in the dataset has weight assigned to it.
|
We are a facing a problem of fluctuating shares for each week for the products we are studying due to low counts. e.g. If we have 4 products and for each one we have say like 5,8,3,6 details and we divide by total to get share of each. But due to low counts this share is fluctuating, we tried rolling 4 weeks, but if we... |
I have an ensemble of time-series predicting a scalar variable. Additionally, I have a measurement time series of this scalar variable.
Which statistical analyses could and/or should I perform to judge the ensemble predictions?
|
I am using a bagging model from the Python Scikit-Learn module:
from sklearn.ensemble import BaggingClassifier
ensemble = BaggingClassifier(base_estimator=DecisionTreeClassifier(),
bootstrap=True,
bootstrap_features=False,
oob_score=... |
say we have the following:
library(gamm4)
set.seed(0)
dat <- gamSim(1,n=400,scale=2) ## simulate 4 term additive truth
## Now add 20 level random effect fac...
dat$fac <- fac <- as.factor(sample(1:20,400,replace=TRUE))
dat$y <- dat$y + model.matrix(~fac-1)%*%rnorm(20)*.5
gamm4 5
br <- gamm4(... |
I have traditionally used this simple test of interaction (http://www.bmj.com/content/326/7382/219) for comparing effect sizes between studies, and I would like to start performing it in R. Although I have scripted a custom function for it, I have also been told about the "metafor" package and decided to give it a try.... |
$X$ is a measurable mapping from a discrete sample space $\Omega$ to $\mathbb R$.
$\mu_1$ and $\mu_2$ are two probability measures on $\Omega$. Assume they have probability mass functions $f_1$ and $f_2$.
Is $E_{\mu_1} X - E_{\mu_2} X \leq E_{\mu_1} \log (\frac{f_1}{f_2})$ i.e. $KL(\mu_1|\mu_2)$? I am not sure about i... |
I have a Masters in math and I am currently doing a Masters in statistics. I am disappointed at the level of rigor in the proofs (and often outright omission of the proofs just a statement saying "in advanced analysis classes it can be shown that...") in the text we are using (Hogg and Craig, "Intro to Math Stats"). Lo... |
I have two features that differ in their orders of magnitude and also in the way they are distributed. I am aware of two ways of normalization:
1) $\frac{x - x_{min}}{x_{max} - x_{min}}$
2) $\frac{x - \mu}{\sigma}$
What are the criteria involved in deciding which normalization method is to be used?
|
I'm looking at significant differences for conversion by browser using a chi-squared test. My table looks like this:
Firefox Chrome Safari IE Opera Mini UC Browser
Converted 63463 23525 42235 82352 52 12
Not converted 38980 18828 ... |
I'm having some issues running an analysis with two categorical variables that are both non-dichotomous...
Some background information on my study: My study focuses on how young adults sexually communicate in an online dating setting, and what influences them to do so. Participants are given a simulated online dating s... |
My model is:
model1 <- glmer(Avg_egg_mass ~ Treatment + Alt_cat + Treatment:Alt_cat + (1|Nest) + (1|Site)+ (1|Year), na.action=na.omit, family = poisson (link=log), data = dframe1)
where I am relating average egg mass (continous variable) to a four group treatment (set to factor) and three categories of altitude (also... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.