instruction stringlengths 9 38.7k |
|---|
Suppose $X_1, \ldots, X_n$ are a random sample from a normal distribution with mean $\theta$ and variance $1$. Find the maximum likelihood estimator of $\theta$, under the restriction that $\theta \geq 0$.
I have found the MLE when there is no restriction on $\theta$.
$$L(\theta|\mathbf{x})=(2\pi)^{-n/2} \text{exp}\Big... |
In other words, does the independent components form a vector basis?
EDIT:Let'me try to clarify the question
If I calculate $n$ independent components for a given set of $n$ dimensional observations, are those components also linearly independent (property required to form a vector basis)?
|
Let's say I have some sample of people with a measure of interest for each one, let's call it v. Let's say I measure v twice for the same set of people, one in January and one in December. Now I want to assess whether a person's v value improved from January to December. Let's assume that a high v value means they did ... |
I'm a guy who is interested in computer science and algorithms. I've spent a bit of time recently developing my own ranking system based on PageRank.
I'd like to compare it to the Elo system, in particular, the chess Elo ratings of the top 50 chess grandmasters.
I've got 2 datasets. All games played between the top 50 ... |
I am trying to remove seasonality from data. I tried the non-linear trend using the code: trend=lm(NH3cH6~t+cos.t+sin.t). The plot was shown as following:
However, as you can see, the second peak of the trend does not quite fit the data. I want to shift the second peak of the trend a little bit, but I don't know how t... |
I'm not sure if I have the right concept of how to perform the chi-square test. I have a variable called race which is a factor with multiple levels for different races, and I would like to see whether there is a correlation between each race and the response variable (mortality). If I were to perform chi-square like:
... |
I'm sorry if I cannot formulate the problem precisely.
Let us consider an ordered set $Q$ with $n_q$ elements, and a number of its (possibly overlapping) subsets $B_1, \dots, B_k$. For a given $i$, one is interested in the question whether the ranks of set $B_i$ are uniformly distributed in $Q$, or whether the ranks of... |
Consider the following linear regressions on two sets of data x and y (of same length)
y=ax
x=by
As you know, the usual optimisation by OLS is usually not giving (at all!) b=1/a
This is because the optimisation algorithm is not symmetric.
My question: is there coded somewhere in R the algorithm that fits symmetricall... |
I'm a beginner in data mining and trying to select best classifiers for a dataset. I have no vision about methods of selecting the best classifiers, but I read somewhere about stable and non-stable data and proper classifiers for them.
My main question is that "Is there any algorithm or even any scale to find out that ... |
I have a logistic model fitted with the following R function:
glmfit<-glm(formula, data, family=binomial)
A reasonable cutoff value in order to get a good data classification (or confusion matrix) with the fitted model is 0.2 instead of the mostly used 0.5.
And I want to use the cv.glm function with the fitted model:... |
I have a set of distributions (histograms) relating to data sampled from two different populations. Within each population I have $n=15$ distributions. I am looking for a statistical test that will tell me whether the two populations are statistically different, or not, based on the distributions within them.
Most test... |
Assume I have a physical system in which I am sampling data from either a binomial distribution with a $p$ of 0.5, or from an alternation between a $p$ of 0.25 and 0.75. But the result is such that in this case it appears $p = 0.5$ as well.
So lets say for example I do a 1000 coinflips and get 500 heads. So the $\hat{p... |
I performed some observations of clownfishes. For each individual fish (each observation), I recorded the anemone species where it lives, the size of the anemonea and the size of the fish (and many other things but we'll forget them for the purpose of this question). In total I have 8 fishes and 7 anemones. It represen... |
I'm wondering what checks/diagnostics you usually calculate and report if you do a random effects logistic regression.
C-statistic/ROC curve
Check multicollinearity?
Check heteroscedasticity?
McKelvey & Zalvoina R-squared
...
There is a lot of information about standard logistic regression and what you should check f... |
It should be an easy question. I am looking for the name of a tool. It is used to normalize a variable with the best possible power. I think it uses an iterative process to find out this best power. What is the name of this tool?
Thank you
|
I know that if
H0: μ = 1.35
then if
H1: μ != 1.35 means p-value is 2P(Z ≥ |z|)
else if
H1: μ > 1.35 then P(Z ≥ z) and H1: μ < 1.35 means p-value is P(Z ≤ z)
However, I am stumped about how to do it with following sets of hypothesis.
H0: μ ≥ 1.35
H1: μ < 1.35
p-value=??
H0: μ ≤ 1.35
H1: μ > 1.35
p-value=??
|
I am interested in the expectation and the variance of the maximum of several independent, normal distributed variances. That is, given a set of $I$ different RVs with $X_i \sim \mathcal{N}(\mu_i, \sigma_i^2)$, I want to find
$$
\mathbb{E}[\max~X_i], \\
\text{Var}[\max~X_i].
$$
I have found Ross' "Computing Bounds... |
I'm a beginner at hierarchical modeling and statistics in general and this is confusing me.
Question: If I draw a histogram of a posterior distribution from an MCMC chain, do I draw the prior as a histogram, too, or do I just paste the distribution into the posterior plot (and make sure it has the same scale)?
Backgro... |
i want to classify persons using their electrical consumption data, imagine the following data set:
"result" is the class variable that I want to detect by using the mean and max Consumptions.
I am sure that it is important for the supervised machine learning algorithm to know whether the data was recorded at the week... |
Context: I am working on a calibration problem involving a 1D function of parameter $\theta$ for which I derived a Jeffreys prior (in fact a 2D but I have an informative prior for one of the parameters).
Observation: Using this prior gives me in practice very bad inference results. Paralelly when using a default choice... |
I would like to derive the likelihood function corresponding to a student t model as a mixture of distribution, but there is one point which is not completely clear to me.
It is usually written that $X=\mu+\frac{1}{\sqrt{\frac{U}{\nu}}}Y$ is a student t distributed variables if U is distributed as a $\chi^{2}$ with $\... |
I initially will apologise for any lack of clarity with regards to this question. I'm posing this on behalf of my sibling who is in the biomedical sciences.
They have done an intervention on a patient. They are measuring the effect of the intervention by looking at test scores (6 questions), and repeating this test ove... |
I have an interaction table with plants species (column) and the number of time each plant has been found to live in each environment (row).
I'd like to know if there is a differential "preference" for plants species to live in different environment. I guess I should run a chi squared test. I'd need some help to make s... |
In R, there are several packages that calculate Cronbach's alpha. If the data contain no missing values, all packages I visited converge to the same value. With missing data, listwise deletion is a possible way to go (the only option in SPSS or packages MBESS and psy btw). However, listwise deletion might lead to dropp... |
I'm new to data analysis and data mining. Often in the papers I'm reading, they use the term "high dimensional multivariate data set." Currently, my task is to detect an outlier and visualize the same from a large complex data set. But how does one find out whether I have a multivariate high dimensional data set or no... |
I would like to analyse the trajectories of patients hospitalized for CVA (cerebrovascular accident) with the package TraMineR.
I have a large dataset with around 25,000 trajectories observed during 365 days.
There are 5 states in my data.
When I try to use the seqdist function which computes the distances between sequ... |
For example, I have a series of values for example like the following:
data <- c(rnorm(10000,40,1500),rnorm(9000,-35,1400),rnorm(11000,30,1300))
I don't know the mean, don't know the sd of my data, and am particularly interested in the "sign of the mean" of my data (I can do a t-test but most often it is not significa... |
I want to compare data from a treatment group vs a control group over time (baseline, 1 yr, 2 yr).
The measurements are repeated for all subjects across all time points (i.e., all participants complete the same set of questionnaires at all time points).
Some participants have missing data (some did not complete questio... |
I developed a questionnaire on art expertise. There are 3 rather subjective questions("I know much about art","I know more than the average citizen","I am able to identify an artwork by a popular artist") evaluated on 7-point likert scales (not at all - absolutely). Furthermore, there are multiple rather objective ques... |
I have a time series of daily measurement data, if you plot the histogram of the data points of the time series, you see long tail and high positive scewness. Also zero values is an important state.
My goal is to use Markov Chain to model the time series, but the measurement data are integers without upper bound, so i... |
I am having trouble getting a fractional polynomial logistic model to converge using Stata 12.
fracpoly, logistic: y x
I have tried
centering the dependent variable
transforming the variable
adding a fixed value to every observation so that there aren't any 'zeros'
I am trying to fit a 2nd order fractional polynom... |
I'm looking at multiple live data streams which I process on a daily basis and would like to monitor in real time.
The way I did it at first was to introduce a somewhat arbitrary upper bound for each of the streams..the monitoring would look at time elapsed between consecutive stream items and if it exceeds its thresh... |
Suppose $X1,..,X4$ be iid from pdf $f(x|\theta)=\frac{1}{\theta}$ ,for $0<x<\theta$.
The prior distribution is
$\pi(\theta)=\frac{2}{\theta^3}$ , for $\theta>1$
I have to obtain:
a)posterior distribution of $\theta$ given $Y$, where $Y = max(X1,...,X4)$.
b)point estimate of $\theta$ based on median of posterior.
My... |
To build two linear regression model, (dependant var : B, independant vars : A1, A2, A3) I have to set the cut point of A1. (high A1 and low A2) I want to pick up the model*s*(a model for high A1, and the other for low A2) with with the lowest residual sums of square*s*
In summary, How I can get the optimal cut-off poi... |
I have the list of time series. I am fitting these series with the formula $$y=ax^2\exp(b*x)$$. It should be noted that parameter $b$ in the formula must be negative as this reflects the behaviour of time series. An example plot for the fitted regression output using nls() in R is:
Initially, I was faced with the prob... |
A famous car production company produces 3 different models of cars, available in 5 colors and 3 possible CC(1900 cc,2000 cc and 2200 cc). suppose that every combination of model, color and CC has equal probability to be selected by a client:
If in one week 6 cars are sold, what is the probability that at least two ca... |
I am running a CFA and getting good fit indices (CFI = .99, RMSEA = .01) for a uni-dimensional scale. However, when I test for internal consistency, I get poor Cronbach's $\alpha$s ($\alpha = .6$). I have tried everything from removing outliers, to dropping items and still end up with the same problem.
I am wondering ... |
After performing a factor analysis and grouping a set of 20+ questions into 3 different factors, we can then calculate a mean, std dev etc for each of these sets of questions or in other words, per grouped factor.
Which test should be used to determine if there are significant differences between the means of these fac... |
In Libre Office Calc, the rand() function is available, which chooses a random value between 0 and 1 from a uniform distribution. I'm a bit rusty on my probability, so when I saw the following behaviour, I was puzzled:
A = 200x1 column of rand()^2
B = 200x1 column of rand()*rand()
mean(A) = 1/3
mean(B) = 1/4
Why is me... |
My research question is whether aptitude tests are a good indicator on how students will perform on course exams. I have already performed an analysis on total exam score compared with total aptitude score.
I am now wondering whether getting a certain question on the test right or wrong is related to how that student ... |
Is it true that if
$$ 0 \leq x_n \leq y_n \xrightarrow{p} 0,$$
then
$$x_n \xrightarrow{p} 0?$$
If this is true, I would be very grateful if you could give me some references where I can find the proof.
|
I am trying to use the R pROC package to estimate the confidence interval for the area under the curve (AUC). I am running into a memory limitation. My R script looks like the following:
library(pROC)
data <- read.csv("data.csv",header=TRUE)
rocobj <- roc(data$observed, data$predicted)
ci(rocobj)
I have modified my 64... |
If $X_1,\ldots,X_n$ be iid $\sim N(\theta,\sigma^2)$, and let $\theta$ has double exponential distribution,
$\pi(\theta) =\frac{e^{-|\theta|/a}}{2a}$, with $a>0$ known.
Find mean of the posterior distribution.
My Work
We need to find joint distribution of $f(\theta|x)$ , where $x$ is vector
$f(\theta|x) = \frac{e^{-|\t... |
I'm learning statistics and I can imagine pretty well what the standard deviation looks like (image here).
But, knowing that the standard deviation is the square root of the variance, I just can't figure out what that looks like.
Can anybody provide me with an illustration or a plot to help me understand that?
|
Applying a test to univariate time series data for checking if the series has a unit root or not, one is faced with a decision if one would like to test if the series is stationary around a constant or a trend. But I am not pretty sure, based on what sign should I infer which test is the reasonable one? Is it correct t... |
I'm new here and not a statistician, so I apologize in advance and I sure hope someone can help!
I'm working on a study where we have 10 locations $(5 \ intervention, 5 \ control)$. We have two measurements of activity for each participant $(n= 700)$ at each location. I've received the following comment from a reviewe... |
Hi I have these problems:
A coin is tossed three times. What is the probability that exactly two heads
occur, given that
(a) the first outcome was a head?
(b) the first outcome was a tail?
(c) the first two outcomes were heads?
(d) the first two outcomes were tails?
(e) the first outcome was a head and the third outcome was... |
I conducted one-way anova test and get a significant result, but when I conducted Scheffe test there was no significant result. Is this possible? How should I proceed or report the results?
|
I'm evaluating a classifier to detect objects.
For example:
I have a set1 with 50 pictures with the object to detect.
And set2 with 100 pictures without the object.
I determine the true positves (0 in set2), true negatives (0 in set1), false negatives and false positives for those sets.
If I want to merge set1 with set... |
I have a panel including two years and I want to compare urban and rural wages:
$\log \text{wage}_{it} =\beta_0 +\beta_1\text{urban}_{it} +\beta_2\text{educ}_{it}+\beta_3\text{exper}_{it}+ \beta_4\text{exper}_{it}^2+\delta_2+\nu_it$
urban is a dummy as well as $\delta_2$ for the second year
How to I take into accou... |
Let $X$ and $Y$ be two continuous random variables. Suppose that:
$X$ has normal pdf with mean mu_1 and variance $\sigma_1^2$
$Y|X$ has normal pdf with mean $mu_2=(a+b*X)$ and variance $\sigma_2^2$; where a and b are two constants from linear regression
$f(Y)=\int f(Y|X)f(X) dx$; where $f()$ is the pdf
Question: Ho... |
I need advice about how to carry out an ANOVA. I studied some theory of ANOVA, but apparently it is not enough.
Basically I collected around 300 reaction times for 12 subjects in my experiment. For each subject I had 2 conditions. The first has 3 levels, the second has 5 levels. Each subject went through all the possib... |
I am currently running a study with two groups (control and current psy. disorder). All participants have three conversations, are videotaped and watch the videos of their interactions afterwards, two times. While watching the video, I assess my dependent variable. The tree conversations are the three levels of the wit... |
I'm doing this problem:
A student is applying to Harvard and Dartmouth. He estimates that he has
a probability of .5 of being accepted at Dartmouth and .3 of being accepted
at Harvard. He further estimates the probability that he will be accepted by
both is .2. What is the probability that he is accepted by Dartmouth i... |
I am analyzing data relating to networks that evolve over times (more precisely, a snap shot of the network at every discrete time step). Each node of the network denotes a person who perform some action at each time step.
As the network evolves, communities may emerge and we run some detection algorithm to identify th... |
Suppose I have data of the following form
t1 = data.frame(a=c(2,3,3,1,5),b=c(6,4,5,2,1))
t2 = data.frame(a=c(3,4,4,1,8),b=c(5,5,5,3,3))
If you consider plot(t1$a,t1$b) and plot(t2$a,t2$b), you can imagine that the second plot is produced by taking every point on the first plot and moving it to its new location in the ... |
Let a bag have 1000 balls, 100 red and 900 blue.
Now, let us get ten independent samples (without replacement within each sample) of the original population (10% each).
Proceed to count the number of red balls in each sample, i.e.:
(9, 10, 10, 11, 13, 8, 5, 15, 12, 9)
To estimate the number of red balls in the origina... |
How do I compute the Gini index using Instance attribute as attribute test condition?
I calculated the Gini, but I have no clue how to do it for this Instance attribute.
$$\text{Gini for } a_1 = 0.345 $$
$$\text{Gini for } a_2 = 0.493 $$
$$\text{Gini for } a_3 = ?$$
I am guessing the answer to this is that Instance a... |
I have a time series $X_t$ (shown below) with a structure break. The stationary test kpss.test() says it has a unit root. How to explain this? Why does $X_t$ have a unit root? Sure it is not constant in mean, so it is non-stationary. But I can not relate its non-stationarity to the concept of unit-root.
x=c(rnorm(1000... |
A non-stationary $AR(1)$ process, which is a random walk, is constant in mean, but not constant in variance. How about the other $AR(p)$ processes with the order $p>1$? Are they constant in mean?
|
Say I am using regression analysis to try and estimate the assembly time for widgets (which can be produced in various sizes) given some possible independent variables:
Width
Height
Quantity of pieces (different sizes used as components)
Did the American League win the World Series
etc.
Most finished widgets are rect... |
A pencil depth tester is used for various pieces of paper. Two different pencils are used.
The class measures how deep the pencils go into the various pieces of paper.
Paper Pencil Depth
1 2 5
2 1 3
3 1 2
4 2 6
5 2 7
6 1 8
7 2 2
8 ... |
I want to estimate the cumulative effects of air pollution on mortality using GLM or Gam methods. With the following R code I was able to estimate the cumulative effect of PM10 on mortality which is estimated as 0.001513801 (1.51% increase in mortality for a 10 ug/m3 increase in PM10 ). My question is how can I build ... |
I have a dataset that contains observations of objects that female blackbirds carry to their nests. The birds have id tags and the objects are grouped categorically with respect to their colour, size and texture. The code that generates the representative birds.data in R is at the bottom.
I first look at the contingenc... |
The accuracy of the central limit theorem for a mean depends on the skewness of the random variables being summed.
Could someone explain that to me? Or could someone propose a book to read?
Thank you.
|
I am attempting to analyse downstream travel speed of fish within two different rivers, however, I am getting lost on which model I should use. Please see working below
data:
data4<-structure(list(code = structure(1:32, .Label = c("10888", "10889",
"10890", "10891", "10892", "10893", "10894", "10896", "10897",
"10898... |
I am using Cox proportional hazards models for survival analysis. The specific reason I am interested in them is because they give a nice way to quantify effect size between groups via the hazard ratio, assuming the PH assumption is not violated.
I use R's survival package for the modeling. The models I am making have... |
To better ask my question, I have provided some of the outputs from both a 16 variable model (fit) and a 17 variable model (fit2) below (all predictor variables in these models are continuous, where the only difference between these models is that fit does not contain variable 17 (var17)):
fit Model ... |
Can somebody explain autocorrelation function in a time series data? Applying acf to the data, what would be the application?
|
I am fairly new in the area of text mining and want to practice my skills a little. I have the following task at hand which I want to work on. I have a large list of short texts (~100.000) and every text has on average 3 tags / labels assigned to it. What I want now is train a predictive model, with which I can assign ... |
I'm working on a glm model (family:normal, link:identity) using complex survey design (package: survey), My interest is to evaluate the effect of the variable DLA on the scores.
I ran the model 1 considering DLA as categorical (tertiles):
model1 = svyglm(score ~ DLA_tert + race + pir_4 + age_yr +
as.factor(... |
I am conducting research in which employee engagement will be evaluated on approximately 20 participants. They will complete an 11 question Likert-scale survey, have interventions done on them (read a book, read 3 articles, and sit through a lecture), and complete the same 11 question survey. Is the correlated t-test ... |
I have a set of paired data that I am using to calculate a ratio. The ratio is calculated as the sum of column 2 over the sum of column 1 (please see below)
Col1 Col2
3744519.37 0
2739505.37 0
46378122.62 0
2887639.57 78652.84
6000000 0
971112.48 0
7815969.01 0
11920577.36 0
2060120.66 0
4951863.34 0
855926... |
I have bootstrapped model fits to some data from different three groups, using the $2.5$ and $97.5$ percentiles to generate a $95\%$ confidence interval.
I know that if $95\%$ confidence intervals do not overlap then there there is a significant difference between values of at least $p<0.05$. I would like to calculate ... |
Is the CDF of a bivariate normal distribution with mean $(0,0)$ and $\Sigma = ((1,\rho),(\rho,1))$ monotone in the correlation coefficient $\rho$?
|
I have an equation where $$Employ = \beta_1 + \beta_2 * \frac{1}{GDP} + e $$ Then how can I explain the relationship between Employ and GDP? For example when GDP increase a certain unit or percentage, measure the change in Employ?
Is there any other way to interpret this type of regression model?
@AdamO: Thanks. I just... |
In linear regression we can do something like this
$$
y' = resid(y \sim \beta_0 + \beta_1 c1 + \beta_2 c2 )
$$
where $c1, c2$ are covariates, and then fit $y'$ in another model:
$$
y' \sim b_0 + b_1 x_1
$$
The advantage of this approach is when you have a lot of independent variables like $x_1, x_2, \cdots x_n$ (for ex... |
Is it possible to statistically compare the Cohen's $d$ of two studies in order to determine of one of the two Cohen's $d$s is statistically significantly larger (or smaller) than the other one?
I have calculated Cohen's $d$ for two virtually identical studies. In one study the cohen's $d$ for control group vs. treat... |
I'm working on a project and I would like to know if the following strategy is good/correct.
The input is a dataset with 2.500 features and 1.000 instances. I have to apply a feature selection on this set. In the beginning I randomly make a learning set (which contains 70% of the original data) and a test set (with th... |
So the title is a bit vague, but I am trying to solve some basic probability inequality. Given that $P(B\cap C) > P(B)P(C)$, how can I show that $P(B|C) > P(B|W\setminus C)$?
I started by showing that $P(B|C) > P(B)$, but I am not sure if this helps. Thoughts?
Thanks.
|
Almost in all texts which are discussing theorems of statistical learning, they assume analyzing arbitrary unknown distribution (the worst case). But in practice different problems (different data) have different levels of hardness, for example linear separable data is easier to learn than the data that are less (or no... |
I just read this post and several other websites, but I still don't understand what bagging is.
I understand it is an algorithm for machine learning, that it improves stability and accuracy of the algorithm and decreased the variance of my prediction, but what is the main idea behind this algorithm? Is it to put a data... |
I'm trying to model a binary classification problem. 5 continuous features, slightly imbalanced dataset (about 60 in one class, a little more than 200 in another).
So far I've tried kNN, LDA, and C5.0. C5.0 works very well (e.g. the AUC for ROC is very good).
However, I've read that boosting a la AdaBoost has problem... |
Let's say I have some measurements, label them $N$, which depend on the variables $x$ and $y$.
Further, I hypothesize that there is a scaling relationship between $N$, $x$, and $y$ of the form $x^{\alpha}N = f(x^{\beta}(y-\gamma))$, where $\alpha$, $\beta$, and $\gamma$ are unknown parameters and $f$ is some unknown fu... |
I'm using "decompose" in a figurative sense here.
I have a simple regression model: y = b + b1x1 + b2x2 + e
The "e" term is the residual and "b" the intercept.
I want to show the contribution of x1 (and also x2) toward y
For the contribution of x1 I remove x2 by setting it to zero.
That yields: y|x1 = b + b1x1
For x2 ... |
I have two groups of time-series, each group represents one type of data. However within each group, each time series may be fitted with a different ARIMA(p,d,q) from the other time series in the same group.
I need to create a single model for each group (Model_group1, Model_group2). I tried the approach mentioned by ... |
I want to run a Canonical Correlation (in R) but I don't have the original (raw) data. I have only the correlation matrix of all the variables.
I have seen some questions here about this, but my question continue unsolved. A user gave a partial solution, but I need the canonical loadings, the percentual of variance in ... |
I'm a new R user, and also new to Random Forest modeling. I cannot seem to figure out how to obtain the out-of-bag (OOB) error estimates for cforest models built with the Party Package in R. In the randomForest package, the OOB error estimates are displayed if you simply "print" the model object, but the party package ... |
In terms of classification task using decision trees, the formula for these looks almost the same. So, how are they different/same? what is the purpose of each in terms of impurity measure?
$\text{Entropy}~(p_1,p_2) = -\sum p_i \log (p_i); i= 1,2;$
$p_i $ are fractions. Say, if I have 2 Yes and 3 No in a node, $p_1=2/... |
I have exponentially distributed probability of event $E$
$$P(E|a) = a \exp(-aE),$$
where $a$ is the rate parameter of the exponential distribution.
Now the probability distribution for $a$ is a Gamma distribution with parameters $d$ and $b$
$$P(a|d,b) = b^d a^{d-1} \exp(-ba) / \Gamma(d)$$
Knowing the prior distri... |
I have some data on serving sizes of a particular food (raw oysters), and I am trying to determine what probability distribution I should select to model these data for a risk assessment (RA). The R package I am planning to use for the RA (mc2d) uses a gamma distribution for serving size in its example, although the pa... |
I have trouble finding the following sufficient statistics.
How do you do this?
$$X\sim \Gamma(\alpha, \beta)$$
$$f(x;\alpha, \beta)=\frac{e^{-x/\beta}x^{\alpha-1}}{\Gamma(\alpha)\beta^\alpha}$$
Question:
Is $\log(X_1+X_2)$ a sufficient statistic for beta?
I am using the first way, conditional probability, but how to y... |
I'm trying to train a classifier on 10 classes, using 249 samples and a (currently) 16-dimensional feature vector. I'm using an SVM with RBF kernel, through Python's scikit-learn module. The distribution of classes in those 249 samples is as follows:
[6, 45, 51, 38, 34, 23, 12, 15, 19, 6]
When building my 200-sample tr... |
I'd like to match the outputs of lmer (really glmer) with a toy binomial example. I've read the vignettes and believe I understand what's going on.
But apparently I do not. After getting stuck, I fixed the "truth" in terms of the random effects and went after estimation of the fixed effects alone. I'm including this co... |
I have a population of interest ($N = 5000$) for which I know some demographic information. I have a sample 1500 members of that population.
So I have a good sized sample, and I know exactly how it is biased (at least based on the demographic information I have).
Is it possible for me to make generalizations about th... |
Does anybody have an idea about why conditional correlation between 2 variables is called "partial" correlation and the simple correlation between them (so, when not conditioned on any other variable) is called "marginal" correlation? What is the intuition behind words "partial" and "marginal"? What do they do with "pa... |
Dataset of frequent 3-itemsets before running the algorithm:
{1, 2, 3}, {1, 2, 4}, {1, 2, 5}, {1, 2, 6}, {1, 3, 4}, {1, 3, 5},
{1, 3, 6}, {2, 3, 4}, {2, 3, 6}, {2, 3, 5}, {3, 4, 5}, {3, 4,6}, {4, 5, 6}.
Assuming there are only six items in the data set.
What is the list of all candidate 4-itemsets obtained by the ca... |
There are functions in R (e.g., PP.test and adf.test) which have null hypothesis of unit-root in the process ($H_0$: there is a unit root). Does this null hypothesis mean "the process is difference stationary"? If yes, what is the order of difference required to make it stationary?
Well, for an $AR(1)$ process, yes, a... |
I have some data which I wish to estimate the marginal distribution of. I have no
real idea what parametric distribution would be suitable, so was planning on fitting a non-parametric (probably kernel) density estimate to the data.
However, there are two complications
1) The data has a hard threshold at $0$
2) The data... |
To reduce the load on the machine I want to take the benefit of the undersampling approach. Here are a few facts about my data:
My data is of the order of 20 millions or even more.
The event rate is around 0.8%.
Using the undersampling approach, I want to reduce the non-event rate and make it either 70:30 or 50:50. ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.