instruction stringlengths 9 38.7k |
|---|
I am conducting a regression. There is an ordinal dependent variable (ordered from 1 to three) and some categorical independent variables (each of them includes several items).
I adopted the multilevel mixed-effects ordered logistic regression using stata software. Unfortunately, the regression outputted regression's r... |
I use two LSTM encoders to encode two inputs from two different sources(with different time steps or length) and I get a pair of outputs and a pair of output states from each encoder. I concatenate the two outputs for the attention mechanism of the decoder, but I don't know how to combine the two output states to input... |
Say I generate a dataset $X$: the first $i$ samples follow $x_i\sim N(\mu_1,\Sigma_1^2)$, the next j samples follow $N(\mu_2,\Sigma_2^2)$ and the last $l$ samples from $N(\mu_3,\Sigma_3^2)$. Naturally, I denote the clusters $(1,2,3)$ by the order of creation.
When using kmeans(X,3)$clusters I get the predicted assignme... |
The prolific combinatorialist Paul Erdős used to say that God keeps the most elegant proof of each theorem in "The Book". This inspired the following attempt to capture what some of the book might look like.
Currently I'm getting into machine learning, and I was wondering what people think would be the most elegant alg... |
I have a dataset which consists of $n_\text{samples}$ different measurements. Each measurement contains $n_\text{features}$ features. These features are for example average_mass, average_charge, speed, position_x, position_y, ...
In addition, each measurement was done at a certain time $t$ which is also known. I want t... |
I read in Rand Wilcox's (2010) book:
"If homogeneity of variance cannot be assumed (with regard to regression), although the method of least squares still provides you with unbiased estimates of parameters (in this case, b1), you can obtain better estimates using other methods, such as weighted least squares"
My ques... |
I have used correlation metric as distance measure for hierachical clustering and obtained the clusters. I used scikit (python 3.5) for clustering hierachical cluster.
Now, I want to use another clustering algorithm with same dataset.
I am not sure whether any other clustering algorithms will take correlation as distan... |
I am performing clustering by Gaussian Mixture model using EM algorithm in R. U use the mclust package. My data (205 observations and 25 variables) has both categorical and numerical variables. How do I deal with that problem?
My first thought is to transform my categorical variables to binary variables and then standa... |
I have two histograms with equal bin size that lie in the same general range. You can imagine them looking like this example I've borrowed from https://mpatacchiola.github.io/blog/2016/11/12/the-simplest-classifier-histogram-intersection.html:
Let's say, the blue-ish histogram corresponds to true examples, while the ... |
Normally a Dirichlet distribution outputs a vector of $Dir(\alpha_{1...k})=X_i|_{i=1}^k\in [0,1]$, where $\sum_k X_k = 1$.
Is there a similar distribution that can be created for $Y_i|_{i=1}^k\in [-1,1]$, where $\sum_k Y_k^2 = 1$? I've thought about just doing $Y_i=\pm\sqrt{X_i}$, but this means having to have a sep... |
Consider the following simple example:
library( rms )
library( lme4 )
params <- structure(list(Ns = c(181L, 191L, 147L, 190L, 243L, 164L, 83L,
383L, 134L, 238L, 528L, 288L, 214L, 502L, 307L, 302L, 199L, 156L,
183L), means = c(0.09, 0.05, 0.03, 0.06, 0.07, 0.07, ... |
The majority (if not all) of test statistics assume random sampling. Consequently, probability values obtained in t-tests, ANOVAs, regression, HLM, etc., are intrinsically linked to the assumption of random sampling.
However, in social sciences, it is often the case that random sampling is not possible, as you resort t... |
I have a question with regard to the inverse mills ratio as part of my type II Tobit model (Heckman model).
The residuals of my Probit and OLS are not significantly correlated (r = 0,000666; p-value = 0,977). This results in a very small coefficient value for $\mu$. However, when I include $\mu \lambda$ in my model it... |
I'm trying to reduce the number of dimensions in my dataset for a movie recommender system using SVD. I'm using the 'MovieLens 1M Dataset' from GroupLens.org. I've used the MathNet library for computing SVD and it seems to work alright.
As far as I know I should be able to input my ratings matrix, compute the SVD of t... |
At this moment, I am busy running a Generalized Estimating Equations model in SPSS. Unfortunately, I cannot use an ordinary logistic regression as the conditions are repeated measures.
I asked people to indicate whether they should click on a search engine result. These results were manipulated by position (low = 0, hi... |
I'm trying to examine the difference in proportions of outcomes from three different tests (positive, negative, unsure). I want to compare what proportions of outcomes is positive for each test. All three tests are performed on the same group of 100 subjects (so each subject underwent three different tests). I figured ... |
The equation is UCL or LCL is:
$$
\bar X \pm Z\times{\rm Standard\ deviation}
$$
I read an article about the z-score on this webpage from investopedia. In one of the paragraphs it says:
The Z-score, by contrast, is the number of standard deviations a given data point lies from the mean. To calculate Z-score, simply ... |
BACKGROUND:
I am designing a roleplaying game ("RPG.") I have been researching, and know some basics of probability and the normal distribution, including the equation to generate a standard bell curve.
Most RPG's use "polyhedral dice" of different denominations --- commonly ones with 4, 6, 8, 10, 12 and 20 faces (usu... |
I hope I'm in the right place to post
my first query here, and to to be brief, I'm an electrical engineering student, working on a task of "Monitoring electrical machines through Partial Discharge data using an AI technique" but I'm struggling in all directions,
what AI technique to use - I'm planning to use ANNs but s... |
I'm using Xgboost for some binary classification and so it makes sense for me to use log loss as my evaluation metric within cross validation.
My data is highly unbalanced though. Would log loss still be relevant? Is there a better metric for unbalanced data?
|
I have some trouble understanding the definition of the EM-algorithm. On Wikipedia they write the following mathematical expression:
$$ E_{Z|X,\Theta^{(t)}}[\log L(\Theta^{(t)}; X, Z)|X=x] $$
Now, let us rename $\Theta^{(t)}$ to just $\Theta$ and let us also recall that (yet) we do not want to undergo the complete Baye... |
I have difficulties with calculating Morans I values and a correlogram.
I did a GAM analysis (script below) and I don't know how to find out if there's spatial autocorrelation in model residuals. Maybe you could help with the next steps?
formula <- as.formula(paste('Asustus ~ s(Elupaiga.pindala, k=3) +
s(Ha... |
I want to build a linear mixed-effects model.
Condition was changed within subjects, so as fixed effect, I entered condition and as random effects subjects, items and a by-subject random slope for condition.
In a second step, I wanted to include scores of a questionnaire that were collected from participants before t... |
Here is the reproducable code with dataset used
`from scipy.cluster import hierarchy
import matplotlib.pyplot as plt
ytdist = np.array([662., 877., 255., 412., 996., 295., 468., 268.,400., 754., 564., 138., 219., 869., 669.])
Z = hierarchy.linkage(ytdist, 'single')
plt.figure()
dn = hierarchy.dendrogram(Z)
Now plot in ... |
I have this question and I think I can just use maths for (ii)
X'Xa=lambda a
XX'Xa=XX'(Xa)=lambda(Xa)
And so if lambda and a are eigenvalues/eigenvectors of X'X then lambda and Xa will be eigenvalues/eigenvectors of XX'
Not sure if this is enough though, but my main problem is that I can't figure out why it is impor... |
I'm writing up some C++ code for one of my Master's coursework. What I'm actually doing at the moment isn't on the syllabus, but I wish to implement it anyway as it will allow me to produce my own memetic computing algorithm.
Onwards!
I have four different optimisation problems coded up in C++:
Michalewicz [-512, 512... |
When we're in the presence of two populations, for the same assumptions (random samples, multivariate distribution, same covariance matrix), and we want to test the mean vectors, we have two options:
$T^2$ statistic (a Mahalanobis distance function)
A statistic,function of the Wilk's lambda (MANOVA)
Both statistics h... |
Let's say you have a Bayesian model:
$$\theta' \sim g(\theta|\mu) $$
$$ y \sim p(y|\theta')$$
And we have some data ($n$ data points) $\mathbf{y}_n$, which we will use to perform inference on $\theta'$ by calculating $p(\theta'|\mathbf{y}_n)$
My interpretation of the posterior $p(\theta'=x|\mathbb{y}_n)$ in this case i... |
Let $X$ have the logistic distribution with the PDF
$$f(x) = \frac{\exp(-x-θ)}{(1+\exp(-x-θ))^{2}}$$
Does $f(x)$ belong to the exponential family?
My solution is
$\exp[(-2)\cdot \ln(1+\exp\{-x-θ\})-x-θ]$.
Since it does not have the form $Q(θ)T(x)$, it does not belongs to exponential family.
At the end of my book there... |
I would like to know how we can retrieve (or compute) $R^2$ when the function cforest() from the package party is used. The function randomForest() from the package of the same name returns a coefficient of determination, while cforest() does not. I read here Manually calculated $R^2$ doesn't match up with randomForest... |
I am reading Ian Goodfellow's book about deep learning and when it introduces exponential distribution, it says "In the context of deep learning, we often want to have a probability distribution with a sharp point at x=0." I don't understand why the probability distribution should have this character, does it help to t... |
I was wondering why in practical terms (aka when modeling and so on), why it's more useful to work a weakly stationary time series than a strict stationary one?
Cheers
|
Can anyone explain to me why A white noise process (εt) and An IID process (εt) are martingales?
|
So I have some data as follows:
Total features: 90
Training Data samples: 9000
Testing Data samples: 2500
Do these numbers look okay? I hope my testing data is not to small.
|
Context
To provide some context, I'm working with satellite data and we're trying to relate optical and radar information, which is not straightforward. Previous steps have included the training of a neural network to predict an optical vegetation index (NDVI) based on radar backscatter information, as shown in the fig... |
This may be the dumbest (but is also probably the quickest) question about multilevel mixed-effects linear regressions ever asked.
In a multilevel mixed-effects linear regression, do the different levels need to be "ordered" according to size?
Allow me to explain: I am running a multilevel mixed-effects linear regressi... |
I am using two different models, Latent Dirichlet Allocation (LDA) and WordVec, to create feature vectors for document classification. The output of the LDA model is a probability vector, i.e. the components are all non-negative and sum to 1. The vectors derived from the WordVec algorithm are not probabilities, i.e. th... |
I am working with a dataset with only 8 subjects. I am working with a rare event so increasing the sample size is not a possibility. I was wondering if I can do a one sample T-test with this data if the normality assumption is satisfied? Or a Wilcoxon one sample signed rank test, if not? In addition, does it make sense... |
I am selecting the operating point in ROC curves using EER.
From a visual perspective (see the figure), know it's the point of intersection of the ROC with the descending diagonal.
What is the formula to compute the EER?
What is the threshold at which the classifier would work?
can you also provide some reference, p... |
Assuming I want to de-bias a confidence interval that was estimated by someone who is overconfident (in the sense of overprecision) in his/her opinion. I do not know how overconfident (i.e. I do not know the level of calibration) but previous research has shown that when people are asked to estimate a 90% confidence in... |
T-Distributed Stochastic Neighbor Embedding (t-SNE) is a (prize-winning) technique for dimensionality reduction that is particularly well suited for the visualization of high-dimensional datasets.
What is the difference between t-SNE and Stochastic Neighbor Embedding (SNE)?
|
Part of a piece of university work requires me to talk about the effects of non-normal distribution on ANOVA. I'm fairly certain that having non-normal distributions in data increases your chances of a type 1 error. I'm just really struggling to find a paper which actually specifies this.
|
I am learning about mixed effects models from here. The linear mixed effects model can be represented as
$$
\mathbf{y} = \boldsymbol{X\beta} + \boldsymbol{Z\gamma} + \boldsymbol{\varepsilon}
$$
Here is my understanding:
Intuitively, I understand the random effect part is some "fine tuning" on fixed effect, i.e., chang... |
This is related to the question posed here. If I have a 2x2 table where the cell counts are small (i.e. < 5), then I should use a Fisher's exact test. However, what motivates using simulate.p.value = TRUE (i.e. Monte Carlo simulation in this case)?
We resort to MC when we assume that the test conditions are not met, b... |
I am conducting Tukey HSDs with compact letter displays on a series of glmms. One example is how the presence/absence of ticks on an animal varies based on several parameters (using lme4 in R):
model <- glmer(ticks.pa ~ Month.factor + Perturb3*Sex + Age2+(1|CurrentChip),
family=binomial, data=temp)
I a... |
Apologies if this question is too general. I'm happy to edit it as needed. That said, I've come across this counterintuitive result twice now, and I'd like to know if there's a known, general solution to it.
When I work with lots of biology data, I often do some combination of:
scoring a list of potential hits, e.g. "... |
when using caret packge in the trainControl you can use "smote" sampling.
what is the default parameters the train in caret are using for smote??
parameters such as:
perc.over = 300, k = 8, perc.under = 100..
ctrl <- trainControl(method = "repeatedcv",
number = 10,
repeats = 1... |
Let S be the number of successes in n independent Bernoulli trials, with possibly different probabilities $p_1$ $,...,$ $p_n$ pn on different trials. Show that for fixed $\mu$=E(S), Var(S) is largest in case the probabilities are all equal.
I figured out that $Var(S)=\sum_{i=1}^n p_i(1-p_i)$, and my question is why ... |
I'm researching factors that influence how bookable a certain room is with data similar to that of Airbnb. The idea is to look at what has been filled out in a listing of a room (i.e. utilities included, kitchen shared/private, toilet shared/private...) to make a prediction on the probability of booking for a room, as ... |
I am getting introduced to Bayesian framework for modelling. I generally use glm models for large datasets of the order ~10m. While I understand that it may not make much difference if I use frequentist or bayesian approach for modelling such a large data. However I also use Naive Bayes to calibrate the resulting poste... |
I have read that the dimensionality of the feature map of the Gaussian Kernel is infinite. However I saw another post (Kernel SVM) stating that the feature map for a Kernel SVM maps to a dimensionality of at most the size of the training sample.
These seem contradictory to me, as surely if you used the Gaussian Kernel... |
I try to reproduce Results from Harding and Pagan (2004), p.12, where they try to estimate the correlation coefficient $\rho_{S} = cor(S_{y,i},S_{x,i})$ using regression on
$$
\frac{S_{y,t}}{\hat{\sigma_{S_x}}\hat{\sigma_{S_y}}} = \alpha_1 + \frac{\rho_S}{\hat{\sigma_{S_x}}\hat{\sigma_{S_y}}} S_{x,t} + \varepsilon_{1,t... |
I have been trying to understand the differences and relationship between fixed, random, and mixed effect models. I have found the following slides (link: http://www2.stat.duke.edu/~banks/111-lectures.dir/lect21a.pdf).
So, when we assume a factor has fixed effect, then the denominator of the test statistic is $MS_{er... |
In a test I had to derive the posterior of the multinomial distribution with the conjugate Dirichlet prior. I used common relation $$p(\mu|X;\alpha) \propto P(X|\mu) P(\mu|\alpha).$$ I did, however, assume $X$ is a single random variable, not a data set. This led me to conclude that the posterior can be written as Diri... |
I'm reading Model selection and inference: Facts and fiction by Leeb & Pötscher (2005) (link), in this paper they look at an example in linear regression:
Let $$Y_i = \alpha x_{i1}+\beta x_{i2}+\epsilon_i \qquad \epsilon_i \stackrel{d}{=}N(0,\sigma^2)$$
They denote the full, unrestricted, model as $U$ (where $\beta \no... |
I have a regression model for determining rentals, and the prediction is the number of rentals by hour, not a 0/1 binary outcome.
Therefore for a performance metric I am principally looking at the Mean Absolute Error (MAE).
My question is, is there a way to graphically plot the MAE?
My dataset also needs to look at h... |
Let's suppose we have the situation presented in picture $1$. We have a set of $n \in \mathbb{N}$ points that have a mean larger than null hypothesis: $\bar{x}>x_{H_0}$. Also $var(x)$ is such that we can reject null hypothesis with t-test given $\alpha$.
Now we draw one more $x_{i+1}$ from the sample and it takes a ve... |
Reading https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm knn uses 'majority voting' to classify an object while knn described on page 39 of http://www-bcf.usc.edu/~gareth/ISL/ISLR%20Sixth%20Printing.pdf states 'KNN applies Bayes rule and classifies the test observation x0 to
the class with the largest probab... |
I am trying to use Naive Bayes to perform text classification. I have two classes A and B. I am mainly interested in identifying class A.
Description about the dataset:
Some of the text contents that belong to class A can also be found in class B.
But some of the text contents are only found in class A.
The entire da... |
In clinical trials, treatment and non-treatment groups go through random allocation, in the hope that characteristics of both groups are similar at baseline. If there are any baseline differences they can be added as covariates to adjust for them, eg in ANCOVA.
When comparing treatment effect in observational studies, ... |
I’m working on an application where I have data points that can assigned to one of two classes, say positive and negative, where positive occurs very infrequently.
I need to build a classifier that takes a point and returns 1 if it is extremely confident that it is a positive instance, and 0 otherwise. The goal here i... |
A class of 60 students has three sections. Summary statistics for
scores on a quiz:
Section 1: 25 students, mean $\mu_1$ = 23, SD $\sigma_1 = 3$
Section 2: 20 students, mean $\mu_2$ = 25, SD $\sigma_2 = 2$
Section 3: 15 students, mean $\mu_3$ = 27, SD $\sigma_3 = 4$
Let $S$ be the quiz score of a student pi... |
I am accustom to using area under the curve (AUC) score to evaluate classification of binary distinctions, but it is not clear to me if there is value in evaluating the AUC score of a binary distinction with a predicted probability (of the class). The binary/binary case seems standard. Is it ever appropriate or useful ... |
I have a basic question on the definition of "population" in statistics.
Use this as example: the height of everyone in U.S.
In my study of probability and statistics course long time ago majoring engineering, the population means all of the heights of all people in U.S.
Now I'm taking courses to get certification as ... |
It appears that in Poisson regression, using an identity link function means your betas will be rate differences, and using a log link function your (exponentiated) betas will be rate ratios.
You can use an offset when using a log link function because log(events/time) = log(events) - log(time) and you can then move lo... |
Don't know how else to phrase this question.
Say I want to split a number (514) into 20 approximately equal parts, and I want to know what each number would be. So for example, if I want to split 10 into 3 parts, I would want something like 3, 6, 10.
I know I can do something somewhat similar to what I want with cut
un... |
I am reading Blei et al.'s paper (Hierarchical Topic Models and
the Nested Chinese Restaurant Process) about hLDA.
I am confused about the details of deriving the posterior of $p(\boldsymbol c_m| \boldsymbol w, \boldsymbol c_{-\boldsymbol m}, \boldsymbol z)$. What is the exact formula of this posterior? How could I dr... |
Instead of just showing the graphs, is there any test to prove it mathematically?
|
I recently learned that with Poisson regression, you can model rate difference by using an identity link function, or rate ratio by using a log link function. Does that work the same way with other generalized linear models?
For example:
If I fit the linear regression equation "height_in_cm = B0 + B1*gender" where gen... |
My observation y is obtained from the model, $y(n) = \sum_{i=0}^{p-1} r(i) x(n-i) + v(n)$ where r is the sparse channel coefficients, x is the one dimensional input and v is additive White Gaussian noise of zero mean. y = filter(.) command is used to model the above equation and thus creating an FIR filter or a moving ... |
We want to sample from the distribution $P(\theta \mid X)$, which we only know up to a multiplicative constant. In Langvin MCMC, our Markov Chain is
$$
\theta_{t+1} = \theta_t + \frac{\epsilon_t}{2}\left ( \nabla P(\theta_t) + \sum_{i = 1}^n \nabla P(x_i \mid \theta_t) \right ) + \sqrt{\epsilon_t}\mu,
$$
where $\mu \si... |
Suppose that the entries in a contingency table that appear in row $i$ and column $j$ are denoted $n_{ij}$, for $i=1,2,...,r$ and $j=1,2,...,c$; that the row and column totals are denoted $r_i$, for $i=1,2,...,r$ and $c_j$, for $j=1,2,...,c$; and that the total sample size is $n$. It was also given that $\widehat{E(n_{... |
I am using following link as reference : https://www.analyticsvidhya.com/...
Although I’ve a few queries :
Is there a formula that will calculate predict function’s output on svm model on radial and polynomial kernels (the way we use in logistic regression Y = B0 + B1X 1+B2X 2+e and then put in logit func.)
2.I am us... |
I want to perform linear regression on some data. For every value of x, the data values are distributed normally across y, around some mean. However, the variance increases linearly as x increases. I made this example graph:
Blue is the regression line, red are data points, black shows the normal distribution, and gre... |
I've got two basic questions for machine learning as newcomer.
Cross-validation vs Test.
I've heard people or online said it's expected that cross-validation data accuracy score is always higher than test data?
Is that true? To some extent it makes sense because there's always certain degree of overfit for training d... |
I have a problem where LAD regressions is not giving me a solution as the R package (L1pack) errors whenever there is an infinite number of possible solutions*. This occurs in the following example: Suppose you want to find the constant $c$ that minimises the absolute distance between it and two $y$ values, that is, mi... |
How to deal with videos where the frame sizes are not the same frame to frame?
For example this video moves up and down and when it does, the video part of the screen has a different amount of pixels vertically.
How to deal with different frame sizes in a CNN?
|
This question has really been bugging me and I'm failing to understand it conceptually. I don't see why it is the case and would really appreciate any help.
|
I have a question regarding the interpretation of multiple dummy variables based on one categorical variable in a regression:
Suppose I have a categorical variable called ‘race’ which has four categories: white, black, Indian and Asian. For this categorical variable, I’ve created four separate dummy variables: white, b... |
Trying to replicate the scoring of the glm function in R.
Preparing the data
library(dplyr)
iris_smp <- iris %>% filter(Species %in% c('setosa','versicolor'))
iris_smp$target <- ifelse(iris_smp$Species == 'setosa',1,0)
GLM in R
Using the glm function in R to get actual prediction results.
frmla <- as.formula('targ... |
I have a scatterplot of (x,y). The data point does not show clusters, it's just a mass of points all over the screen.
Each point is given a certain colour based on whether the response $z$ (which depends on $(x,y)$) has some property or not.
Then the scatterplot does end up looking like a cluster: the same-coloured poi... |
It's provably correct that for a nonnegative random variable denoted as $Z$. The expectation of $Z$ can be written as follows:
$$\mathbb{E}[Z] = \int_{x=0}^{\infty}\Pr[Z\geq x]dx.$$
Well, it can be proved by methods "integration by part", however, I think there may exist a more intuitive interpretation and a direct con... |
We're doing a re-implementation of the style transfer algorithm in Gatys et al. Image Style Transfer Using Convolutional Neural Networks.
There are many example implementations out there but except for the authors almost everyone goes with the standard network with pretrained weights.
In section 2 - Deep Image Represen... |
As my msc. thesis I am working on a generative design algorithm for the design of mechanisms (in the mechanical engineering sense). I'm specifically interested in the design of compliant mechanisms.
In current solutions only topology optimizations (TO) are used, or evolutionary algorithms (EA). TO is very designer-depe... |
If I know the CDF of $X$ where $X=\min(X_1,X_2)$, is it possible to find the CDFs of $X_1$ and $X_2$? I know that $X_1$ and $X_2$ are i.i.d. such that
$$F_{X}(x)=2F_{X_i}(x)-F_{X_i}(x)^2$$
where $i=$ 1 or 2.
It may be difficult to solve this equation. Is there any systematic way for this kind of problem?
|
I have a dataset ($300 \times 14$ matrix). This means it has 14 features and 300 observations.
$n=14$
$$
\begin{pmatrix}
a_{11} & 0 & \ldots & a_{1n}\\
0 & a_{22} & \ldots & a_{2n}\\
\vdots & \vdots & \ddots & \vdots\\
0 & 0 &\ldots & a_{300,14}
\end{pmatrix}
$$
Now, is it unreasonable if I estimate the de... |
Suppose I have trained a random forest on a very high dimensional set of features. Then I have identified the top m features that have the highest Gini index. If I'd now drop all other feature variable except the top m ones (so performing a great dimensionality reduction), can I expect to obtain a similar classificatio... |
I am trying to understand how to derive the ACF and PACF of and ARMA(1,1) process. In one of my lectures I have the following ARMA(1,1)$$y_t=\phi y_{t-1}-\theta \epsilon_{t-1}+\epsilon_t$$
I am being told that I have to multiply by $y_{t-k}$ and take the expectation so I end up with: $$E[y_t*y_{t-k}] \ or \ \gamma_k=\p... |
I have just performed a Wilcoxon rank sum test on a sample of 22 continuous data points (11 in each group) and am getting a P value of exactly 1 (not rounded).
I've read that this can only happen when the sample values are exactly equal, but mine aren't:
mean(diversity[habitat=="scrub"])
[1] 1.804455
median(divers... |
Given an integer observation $v$, I consider it comes from a Poisson distribution centered at $\boldsymbol{\theta}^T \boldsymbol{\lambda}$ where $\boldsymbol{\theta, \lambda}$ are K-dimensional integer vectors.
\begin{align}
v \sim Poisson(\sum_k\theta_k\lambda_k) & \quad\text{ or }\quad v = \sum_kPoisson(\theta_k\lam... |
Let be $Y$ the matrix of observations with $n$ lines and $m$ columns.
Let be $X$ the centered matrix, where $X_{i,j} = Y_{i,j} - \overline{Y_{.,j}}$ , $i = 1:n$, $j = 1:m$
Edit : $\overline{Y_{.,j}}$ is the mean of each column
$X^{t}$ is the transpose matrix
What is this matrix $\frac{1}{n-1} X^{t}X$ ?
|
I have PDF of time variable, and I'd like to create statistical test in order to decide if new data point derived from my distribution.
Say I'm setting a p-value of alpha. My question is how should I find my "rejection area". Should I search for a c (cutoff) value which all points' (e.g., minutes) densities above this... |
I have completed a project where in a colleague and i have rated steps in a surgery from 1-5. now we need to know the inter observer reliability. I used Cohen's kappa and got a poor score although the excel shows similar points. Please guide me as to how i can test this in a better way
|
I am trying to compare the proportions before and after TWO interventions in a small sample.
Basically, 10 people had intervention A, and I want to compare proportions of their success rate before and after to the 10 people who had intervention B.
My null hypothesis is that intervention A is equivalent to intervention... |
I conducted a verification survey for my thesis with 7 point likert scale. Only one question was used in the survey and 18 participants responded to my survey.
The responses received from 18 participants are:
1- Extremely disagree
1- Mostly disagree
... |
I'm building a prediction model (logistic regression, using R) with data obtained in children younger than 18 years. Twenty-five percent are less than 2 years old.
One of my candidate predictors requires that a child have sufficient verbal skills to report a particular symptom.
By design, all children less than 2 wer... |
I have a computer that's running software that has a large number of critical paths, each of which takes a different amount of time to run. I don't know which specific paths are running at any point in time, and many of the same paths can be run concurrently. (For example, in the current minute there might be five proc... |
As explained in this post - >
There are low variations in the explanatory variables, low variation of your explanatory variable might affect your results.
The way I used to find that intuitive was graphically : if your values are concentrated on a small range of x then they would less reliable for estimating a slope.... |
Suppose I take 2 sets ($A$ and $B$) of 1000 random items out the same distribution; I also suppose that all items are different.
I then create a new set $C$ which is the union of $A$ and $B$, since all items are different it has 2000 elements.
If $C$ is sorted (ascending or descending), should I roughly end up with a s... |
I am reviewing a work of a colleague of mine.
He graphed two different time series for the same product - the first one (historic figures) takes into account 4 years, while the second one (estimates) has 3 years.
He then added percentages comparisons for the growth rates - almost 15% for the 4-year time series and 16% ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.