instruction stringlengths 9 38.7k |
|---|
I simulated a simple poisson regression model as follows
$x \sim Normal(2, 1)$
$\mu = \exp(0.6 + 0.9 x)$
$y \sim \text{Poisson}(\mu)$
set.seed(123)
n = 1001
x = rnorm(n, 2)
mu = exp(0.6 + 0.9 * x)
sim <- rpois(n, lambda = mu)
However, the mean and variance are not equal
mean(sim)
# 16.68731
var(sim)
# 349.5331
but th... |
Three white and three black balls are distributed in two urns in such a way that each contains three balls. We say that the system is in state i, i = 0, 1, 2, 3, if the first urn contains i white balls. At each step, we draw one ball from each urn and place the ball drawn from the first urn into the second, and convers... |
I am familiar with regression linear models, and EM algorithms. However, I do not get the idea of fitting the mixture of regression linear models using the EM algorithm. So, what I think about it is as follows:
fit the first linear regression model and then estimate the coefficient. Then, find the density of the fitte... |
I am currently working on a project that involves a data processing pipeline, and in it I might come across all sorts of data. I would like to know if there are any references on an automatic way to detect if a numerical column is actually a category (e.g. store ids, ZIP codes, etc...) and to not mistake it for a conti... |
I am a biology student looking at the occurrence of a certain behaviour during breeding in an animal and which variables predict the occurrence of that behaviour.
The behaviour was recorded as "yes" or "no"
After building up the model and looking at the output (down below) the variable Oestrus seems to be the only sign... |
I am running a piecewise glmer and the variance estimates we are getting for the random effects are very large:
Random effects:
Groups Name Variance Std.Dev. Corr
id (Intercept) 5.947e-02 0.2439
T1 2.813e+03 53.0372 0.09
T2 2.817e+03 53.0762 ... |
I've seen a tonne of tutorials online for managing categorical variables in a VIF test by making binary dummy variables, but with a variable with 3 or more categories this means creating two or more new columns.
I'm currently working on a dataset where my response variable is 45 elements, equally divided into three cat... |
I simulate data from a Gamma-Poisson model in R as follows. The mean and variance of the negative binomial distributed counts are $a b=10$ and $a b (1+b)=60$.
a=2
b=5
n=100000
set.seed(123)
cnt=rpois(n,rgamma(n,a,scale=b))
c(mean(cnt),var(cnt))
c(a*b,a*b*(1+b))
Next, I use two different implementations of negative bin... |
I have a dataset of 20 columns/parameters (x's) and not many rows (10-20 historical values for each x) I need to use to predict a y column for the future 5 years. Each row represents one year. What can I do with such little data? Is a VAR model the way to go? Is it an issue that some of my parameters have more data tha... |
My friends and I are hosting a Beerio Kart tournament and we are having trouble calculating a probability pertaining to it.
So in Mario Kart on the switch there are 56 courses and we are going to play a certain number of times. Each time we play, the course we play on is chosen at random. Before this happens, I get to ... |
I would like to run a meta-regression in which the independent variable is composed of weighted reported odds ratios (ie, the number of events for a particular medication side effect divided by total events reported for that med) and the dependent variable is a set of effect sizes. However, I have an issue with the rep... |
I have asked this question in entirely different forms a number of times on StackExchange, to no avail. Between each question, I investigated the literature thoroughly, but I have yet to find a solution to my problem. Suppose, we have the system of equations:
\begin{equation}
Y_t=\beta X_{t-1} +u_t\\
X_t=\rho X_{t-1}+\... |
I'm working with this model, extracted from [1]:
$Z=(1+2\cdot X\cdot k+k^2)\cdot Y$
where $X$ and $Y>0$ are independent random variables, with known distributions, with means $\overline{X}=0$ and $\overline{Y}=1$, $k>0$ is a constant and $Z$ is calculated from experimental data.
$k$ is a kind of quality indicator, more... |
I am looking to understand alpha error calculation given power, sample size, and effect in a two-sided independent mean comparison. So the hypothesis is:
H0: mean1 = mean2
H1: mean1 != mean2
Assume we know the power, sample sizes, means and standard deviations for each group. From standard deviations, we can calculate ... |
I have an experiment with four groups with multiple trials. In two groups individuals have the exact same trials during all the experiment, no variation In the stimuli were added. But in the other two groups the trials have a little difference (level of the stimuli varied).
Now I’m doing a logistic regression to anal... |
I have sample data ad I want to test the claim that the mean length of stay is 7 days. Data is give as pairs ( Arrival Date, Departure Date) , each date given as the nth day of the year, e.g., Jan 3 is give as 3, February 1 is given as 32, etc.
But I don't have a clear idea of the distribution of the stay data
My idea ... |
I think there is a dishonest or fallacious argument based on quoting some fact or figure or statistic that most people do not know, and cannot put into context, and then pretending that it is serious or alarming. What would you call this fallacy/argument?
Example: "Isn't it terrible, I heard that people working in Si... |
Suppose I take $k$ vectors randomly sampled from surface of unit sphere in $d$ dimensions.
$$v_1, v_2, v_3,\ldots ,v_k$$
I apply Gram-Schmidt orthogonalization (but not orthonormalization) to obtain mutually orthogonal vectors.
$$u_1,u_2,u_3,\ldots,u_k$$
Can we say anything about how expected value of $\|u_1\|^2+\ldots... |
I have two identical experiments. Each experiment have gene expressions for 12 samples with different conditions: untreated. Dosage 50. 100. 200.
I want to prove that these two experiments are identical or replicable. I can do two sample t tests across each conditions but will have 4 p-Values then. What’s a good test w... |
I am trying to use a variational autoencoder-like architecture that converts images of a dataset that I created myself to an equivalent compact representation. Below is my code for the model architecture (adapted from Keras tutorials here):
# Encoder
latent_dim = 256
encoder_inputs = keras.Input(shape=(40, 60, 3))
x =... |
I'm looking into the wikipedia page of cross entropy. https://en.wikipedia.org/wiki/Cross_entropy
$$H(p,q)=-\sum_{x\in \mathcal{X}} p(x)\log q(x)$$
It can be written as $$H(p,q) = H(p) + D_{KL} (p||q)$$ where $H(p)$ stands for the entropy of $p$ (which is a probability distribution function here), and $D_{KL} (p||q)$ m... |
I want to compare 2 values to see if there considerable significant different between them.
Basically these values comes from 2 credits score bureau providers (score 1 and score 2). The score 3 is just the avg between score 1 and 2. and we base our decision on this score 3.
+---------+-----------+----------+----------+... |
In the new Probabilistic Machine Learning book by Kevin P. Murphy, to formulate the posterior mean of a multivariate normal distribution, he first defined the likelihood as
However, I can't seem to understand how to go from Equation 4.188 to 4.189 and subsequently to 4.190. Also, how can we simply replace the observat... |
I presume this is a rather stupid question, but I hope some of you can find a bit of time to entertain it.
Looking at asymptotic behavior of estimators/test statistics etc means looking at their behavior as sample size approaches infinity. But if our sample size is infinite, doesn't that mean that we already have the w... |
I am reading about convergence of random variables from Wikipedia and I come across this.
Note that the condition that $Y_n$ converges to a constant is important, if it were to converge to a random variable $Y$ then we wouldn't be able to conclude that $(X_n, Y_n)$ converges to $(X,Y)$.
This makes me conclude that
$\... |
I am trying to model simple 2d continuous distributions with GANs. Here, I focus on a 2d distribution following a ring structure. The architecture of my networks are:
def make_generator_model(input_dim):
model = Sequential()
model.add(Dense(32, activation='tanh', input_shape=(input_dim,)))
model.add(Dense(3... |
I am trying to forecast a univariate time series with multiple seasonality
Something like this:
library(forecast)
fit <- auto.arima(y, seasonal=FALSE, xreg=fourier(y, K=8))
Based on visualization my data show frequency of 7, 31 and 365. It is answered in few stack exchange answers that The value of K for fourier term... |
Looking at https://en.wikipedia.org/wiki/Akaike_information_criterion I find the well known log likelihood $\ln\mathcal{L}(\mu,\sigma)
\, = \, -\frac{n}{2}\ln(2\pi) - \frac{n}{2}\ln\sigma^2 - \frac{1}{2\sigma^2}\sum_{i=1}^n (x_i-\mu)^2$ for assuming that the errors scatter with a normal distribution around the mode... |
I'm reading Performance Modeling and Design of Computer Systems which contains some analysis of Markov chains. In particular, it emphasises various analytical methods for finding the stationary distribution of a Markov chain.
Here's what confuses me: when I have formally studied computer-intensive statistics (more spec... |
I would like to understand the math behind the graph that Minitab computes explained here, which I have encountered a couple of times in publications regarding regression modeling such as this, this.
According to the Minitab website, the bar is composed of the terms/model input variables/independent variables in the b... |
I know that VIF values have no upper limit, and that anything over 10 is usually bad news if you are trying to avoid multicollinearity especially for regression models such as multiple logistic regression.
However - most of what I have read suggests removing the offending infinity variable. Here in lies the problem.
I'... |
Hello I am trying to calculate the MASE of a store at hourly level. My questions are below:
If I sum up the different values, it sums to 24 (number of hours) and the average comes to 1. What am I doing wrong?
Numerator = Absolute Scaled Error
Denominator: Mean of Absolute Scaled Error
|
I have repeated monthly measurements of some variable at several different sites, so that I have 21 data points (21 months) for each site. Now, I want to see if there are significant seasonal differences in each of these sites, e.g., did site 1 differ in four seasons + post hoc test to determine in which seasons it dif... |
If it does make sense to do a sensitivity analysis how should one determine which priors to use? If flat "non-informative" priors are chosen to begin with because of a lack of information then it seems quite hypothetical choosing different informed priors to sensitivity check?
|
Let the joint PDF of X and Y, $f(x, y) = \frac{1}{2}e^{-x}$ if $x \geq 0$, $|y| < x$, $f(x, y) = 0$ everywhere else. Calculate $\mathbb{V}(Y|X = x)$.
By definition, $\mathbb{V}(Y|X = x) = \mathbb{E}\Big\{\big[Y - \mathbb{E}(Y|X = x)\big]^2|X = x\Big\}$. Earlier, I calculated that $\mathbb{E}(Y|X = x) = 0$, so $\mathbb{... |
Suppose I have $N$ sets as follow:
$$S_1 = \{a_1,a_2,\cdots,a_n\}$$
$$S_2 = \{b_1,b_2,\cdots,b_n\}$$
$$S_3 = \{c_1,c_2,\cdots,c_n\}$$
$$\vdots$$
elements of each set (i.e., $a_n$, $b_n$, $c_n$ and etc) are words. I want to go through all the sets and cluster similar words. So we may have $M$ number of clusters ($C$) wi... |
Hopefully an easy one. My apologies for not using math format, I am not sure how to do so.
I have a known Gamma distribution f(Y), say shape=3 and scale=2. I also know that that the distribution of f(Y)^1/2, i.e. the square root of f(Y), can be described as a Nakagami distribution f(X) where X=sqrt(Y). What I'm after i... |
It requires the Gaussian process model output ranging between 0 and 1, is there any technique to constrain the Gaussian process model's output?
|
I have various shapefiles of attributes of a particular city, like the location of crimes, traffic accidents and greenspace.
I'd like to plot the distribution of these attributes over the whole city, the end goal is for a user to be able to enter a location and a search radius and be shown how the values of these attri... |
Would a Bayesian SEM model only be accepted by a scientific journal if all parameters show good diagnostics ? (e.g., autocorrelation, trace plot etc.).
Is it realistic to build such a model? Or is it ok to say that some parameters are more trustworthy than others?
|
I want to implement singular value decomposition on a sparse matrix using the Scipy implementation. The documentation shows three solvers: ‘arpack’, ‘propack’ and ‘lobpcg’. How do these solvers compare in terms of performance and running time?
|
This is an exercise from Computer Age Statistical Inference by Efron and Hastie, student edition of the book.
Draw a schematic graph of $\dot{l}_{x}(\theta)$ versus $\theta$. Use it to justify (4.25) $\left[\hat{\theta}\dot{=}\theta + \frac{\dot{l}_{x}(\theta)/n}{\ddot{l}_{x}(\theta)/n}\right]$
I am unsure of what is... |
Problem Description
I have a posterior distribution
$$
p(\theta\mid y) \propto p(y \mid \theta) p(\theta)
$$
with a uniform prior $p(\theta)= \mathcal{U}([a, b]^n)$, which is bounded. However, for my particular application, it's easier to work with an unbounded prior so I would like to reparametrize the problem to work... |
I have data from an experiment that records the effects of stress on blood pressure.
The study went as follows:
Participants had their blood pressure measured 4 times over ten minutes to assess their baseline blood pressure.
Participants underwent a psychological stress task for 6 minutes, yielding 3 measures.
Partici... |
A friend recommended Stackexchange since I haven't found a suitable answer.
I am currently trying to prepare my analysis of an Actor-Partner-Interdependence-Model for longitudinal data (L-APIM) with different event occurrences.
I have three different cohorts with distinguishable dyads, all receiving Just-In-Time-Adapti... |
I'm considering using the AICc instead of the AIC to select models because my sample size is not much larger than my number of parameters (n=214, K=16 - which is not enough, according to Burnham and Anderson page 66).
However, whilst they don't really say much as to the assumptions we need to make in their book, wikipe... |
I am using neural nets to find the minimum of a complex function to which I compute the mean (crit in my code). Here is my net :
class Net(nn.Module):
def __init__(self):
super(Net, self).__init__()
self.fc1 = nn.Linear(3, 3)
self.fc2 = nn.Linear(3, 3)
self.fc3 = nn.Linear(3, 1)
... |
I have a dataset of marks of 6 students - A, B, C, D, E, F, G for 30 subjects each.
Subjects
Student A
Student B
Student C
....
Subject 1
marks...
Subject 2
Subject 3
... 30 subjects
The marks are mostly around 50 to 70, rarely rising to 80 or 90.
I wish to determine :
which students a... |
I conducted an experiment and would like to know if how I treated and coded my treatment variable is permissible. Basically, participants rated targets that vary in terms of how similar they are to each participant. I have 6 levels of SIMILARITY (the treatment variable), going from low to high (an ordinal variable). Ou... |
Background and Color
Contextually, this is pertaining to machine learning and natural language processing. Specifically, it has to do with the labeling of real world data for partitioning by a machine learning model.
When labeling text data sections for partitioning in ML, I have hundreds or even thousands of sentences... |
I was reading the paper of [Geoffrey Hinton: Capsule network], and I watch it's talk on Youtube about the problem of Conv Network is actually the (max) pooling layer, since we don't want to be invariant to transformations, for the reasons that he explains in the paper.
However, I see a simpler solution, that is (obviou... |
I read the following result based on a second order Taylor expansion (here: Expected value of a natural logarithm)
$$\mathbb{E}(\log(x)) = \log(\mathbb{E}(x))-\frac{1}{2}\frac{\mathbb{V}\text{ar}(x)}{\mathbb{E}(x)^2}$$
If we assume that $x\sim N(\mu,\sigma^2)$ then
$$\mathbb{E}(\log(x)) = \log(\mu) - \frac{\sigma^2}{2\... |
This is a high school math question:
There are 6 balls in a bag, and one of them is red, and it is marked #1, 2 yellow ones are marked #1 & #2, 3 blue ones are marked #1, #2, #3 respectively。Choose one from the bag at random and the ones that are independent events are:
A. E(red ball) and E( #1)
B. E(yellow ball) and E... |
I have values with extreme outliers and want to visualize that. But the box plot doesn't seem a good choice for my data as you can see here.
Most of the values are less than 50,000. But some them are over 1 million. .
What type of graph/figure is a good choice for data like this?
Here is an MWE creating that data
#!/u... |
Problem
I have $N$ binary classification models $M_{i}$ that try to predict there own random variable $Y_{i}$ based on the same input data $X$. Each $M_{i}$ is non-deterministic meaning every estimate of $Y_{i}$ given the same $X$ is not the same. As a note, the estimates are probabilities.
The ultimate goal is then to... |
I just started on statistics so this is pretty hard for me. I have two identical experiments. Each experiment have gene expressions for 12 samples with different conditions: untreated. Dosage 50. 100. 200. I want to prove that these two experiments are identical or replicable. Each experiment has n = 1500 so 3000 sampl... |
I am currently working with pandas and scikit-learn for Poisson Regression (now turned negbinom to address Overdispersion) to model count data of y (ticket count) with each day of the week serving as a predictor variable(s). I have used One-Hot-encoding for the days of the week to fit the regression model.
For the mode... |
Consider a process $\{ X_n, n= 0,1,...\},$ which takes on values 0,1 or 2. Suppose $$P\{X_{n+1}=j| X_n=i, X_{n-1}=i_{n-1},...,X_0= i_0 \} = \begin{cases} P^{\rm{I}}_{ij}, \text{when n} \ \text{is even,}\\P^{\rm{II}}_{ij}, \text{when n} \ \text{is odd}\end{cases}$$
Where $\sum_{j=0}^2 P^{\rm{I}}_{ij}= \sum_{j=0}^2 P^{\r... |
I have trained a classifier I am experimenting on, using a highly imbalanced data set (284,807 transactions and out of them 370 are of class 1) and I get the following results.
precision recall f1-score support
0 1.00 0.97 0.98 28432
1 0.05 0.92 0.09 ... |
I am using data from sub-reddits like [this][1] or [this][2], where users discuss their thoughts on the Federal government unemployment insurance and its fairness. Specifically, I wonder if it makes sense to use the policy announcement as the treatment variable with a measure such as online sentiment as my outcome. For... |
Given a (moderate) number of values which can be assumed to be normal distributed but with unknown mean and std-dev, I want to compute a confidence interval (say 99% confidence).
My naive (not a stats person) way to formalize this is I think the question:
Given the data: into which interval will a new value sampled fro... |
Currently trying to model count data using ticket counts for each day of week as the dependent variable (y) and the corresponding day of the week integrated using OHE for 78 days. Assuming Poisson distribution.
I was just wondering if the independent variables are correctly formatted to be able to predict a relationshi... |
Background: I have data that contains the severity scores of the pathology findings of tissues from different subjects with 100% sampling of the organ (let's call this dataset population, which contains thousands of scored slides for each subject). Certainly, this type of scoring will generate great data however, to re... |
Consider the linear model
$$
Y={\underbrace{X_i}_{K\times 1 }}^\top\beta+U_i
$$
and assume
(0) There is no intercept in the model
(1) $E(X_i U_i)=0_K$ [orthogonality]
(2) $E(X_i X_i^\top)$ has rank $K$
(3) We have an i.i.d. sample $\{Y_i, X_i\}_{i=1}^n$
Then, the OLS estimator
$$
\hat{\beta}=({\underbrace{X}_{n\times K... |
I'm working through Dive Into Deep Learning right now and am struggling with the following question:
We can explore the connection between exponential families and the
softmax in some more depth.
Compute the second derivative of the cross-entropy loss for the softmax.
Compute the variance of the distribution given by... |
Is there a better way to standardize a dataset with outliers than to normalized value (z-score) based on the mean and standard deviation? I am using the Excel STANDARDIZE function.
I have two datasets with huge outliers and I cannot remove them. Here is a summary of one of them.
Min. value: 0.29
Mean: 402,1
SD: 2222,89... |
I am analyzing data on some biossays and I need an advice on which statistical analysis to use and how to use ggplot2 R package to better visualize the results.
As you can see in the above image I have infected bean plants with a pathogen, a Pseudomonas bacterium, and then tested the treatment with bacteriophages appl... |
I am being asked to derive the unconditional variance for stochastic process $\{Y_t\}$, where:
$$Y_t = \phi_1 Y_{t-1} + \phi_2 Y_{t-2} + \varepsilon_t$$
$$\varepsilon_t = V_t \sigma_t$$
$$\sigma_t^2 = \alpha_0 + \alpha_1 \varepsilon_{t-1}^2 + \beta \sigma_{t-1}^2$$
$$V_t \sim N(0, 1)$$
I don't mind expressing this in t... |
I am currently using the tmle function in R to perform targeted maximum likelihood estimation as a doubly-robust alternative to propensity score methods in identifying an average treatment effect. This is an ideal method, as I have a large number of covariates, and I'm not worried in estimating the effect of specific c... |
I am a student at the undergraduate level and I have been reading a paper in the information theory/compressed sensing literature which derives a likelihood function that I do not understand.
In this scenario, we have a signal that is corrupted by multiplicative and additive noise. This is modeled by
$$\textbf{y} = AX\... |
$X$ is a random vector of real numbers.
What is a good $f(X)$ such that $Y = f(X)$ satisfies $\displaystyle\sum_{i <k} Y_i < 0$ for all values of $Y$, where $Y$ has $k$ elements indexed with $i$? $Y$ has the same dimension as $X$.
IOW: the cumulative sum is negative.
Also: Y can be negative. I realize that one could ... |
I am running a random forest classifier in R and during 10-fold cross-validation, I discovered that the model is overfitting. I am using a grid search to find the best hyperparameters and used the best model to predict the same training set again. The random Forest model classified every data point of the train set per... |
As far as I understand the Decision Trees (DT - CART), the first step is to choose a feature that maximizes IG (information gain), meaning the entropy in the current node - the entropy after splitting using that variable.
However, I think the optimal next split is achievable by using the best split + feature directly, ... |
I was running a model to check the survival rate among different treatments. Basically, the treatment has four groups. I firstly plot a K-M curve and noticed clear interactions among the four treatment groups over the time. So, in the cox regression model, I put the interaction between treatment and time in the model: ... |
Given the random variable $X$, $\{X_{i}\}_{i=2}^{n}$, $\{Y_{i}\}_{i=2}^{n}$ all iid and lets denote $X_{(k)}$ as the k-th statistic of $\{X\} \cup \{X_{i}\}_{i=2}^{n}$ and $Y_{(k)}$ for $\{X\} \cup \{Y_{i}\}_{i=2}^{n}$ what is the probability for $X \leq X_{(k)}$ or $X \leq Y_{(k)}$, in other words
$$
\mathbb{P}(X \le... |
I have to deal with a statistical issue in a study, specially with the use of Kaplan-Meier estimator in the case of non independent observations.
Background of the study:
We follow-up patients (N = 500) who underwent ear surgery (cochlear implant). There are two type of implants (A and B) and the objective is to descri... |
I have two samples that I know a priori were drawn from the same distribution. When I increase the size of the samples, the K-S statistic dips significantly (expected), but so does the p-value, sometimes. It actually exhibits a kind of erratic behavior:
import numpy as np
from scipy.stats import norm, ks_2samp
np.rando... |
Is the Generalized Dirichlet distribution an exponential family? If so, what is its log-normalizer, sufficient statistics, and carrier measure?
|
I am looking at a very large yet finite sequence of Bernoulli trials, each with its own probability. From the physical nature of the process, I know that the probabilities $p_i$ of each trial should be normally distributed around some small value $\langle p_i \rangle\sim0.1$ and have standard deviation $\sigma_{p_i}\si... |
I did the over-dispersion test for my Poisson regression model in R, to check whether negative binominal is a better option.
I used stats package for conducting Poisson regression and AER package for testing overdispersion.
dispersiontest(m2.int,trafo=1)
Below is the output of the test
Overdispersion test
data: ... |
I am working on gans and wanted to know how I can plot the latent space of gan. Like I have a latent space of shape (50,250). So it is an n-d array of length 50 and 250 points representing each one of them. I wanted to know a good way to plot them and also a way to make it an interactive graph of points where I can hov... |
On the Wikipedia page for Log-normal distribution
It is written that
$$E[X|X>k]Pr(X>k)=\int_{k}^{\infty}xf_{X}(x)dx$$
I know it is probably simple, but I am still wondering the derivation. Since I know that
$$E[X|Y=y]=\int_{\mathbb{R}}xf_{X|Y}(x|y)dx$$
But I don't know why the first integral is always true.
|
My thesis question is asking whether biodiversity sensitivity differs geographically. I will assess all 5 pressures individually, but take 1 (pollution) as an example.
My data contains time series for how biodiversity and pollution change in each country, over time.
I ran a linear model, lm(Biodiversity~Pollution), for... |
I've done all the pre-processing on my data and am conducting Granger causality using statsmodels. However, I am confused as to how to interpret the significance of the results when I have multiple lags that reject the Null (pscore <.05), as per example below. Ideally, I would like to know what the 'optimal' number of... |
I'm working with a large dataset (761 rows and about 57k-60k features) and after doing a feature selection to select the best 10 features I'm using different ML algorithms to classify some cases. In the case of the K-NN I performed a hyperparameter tunning using GridSearchCV from sklearn and after many tests this retur... |
I have used the R package dtwclust to generate clusters for more than a thousand time-series objects.Since I did not have any prior information on the number or validity of clusters, I used a suite of internal CVIs (Cluster Validity Indices) implemented in the same package to compare across 4 different clustering metho... |
I wonder if this is a case that it not clearly specified:
Typically, Wilcoxon rank sum test / Mann–Whitney U test is used for independent groups and testing the values of different variables against each other.
Typically, Wilcoxon Signed Rank Test is used for dependent groups (same group) and testing the values for the... |
I have a dataset stands for customers retail sales data, it includes customer ID, Age, purchases frequency in the 24 month, purchase frequency overall,how many goods cust purchased in the 24 month, how many goods cust purchased overall.
I want to cluster it using Kmeans only based on Age,purchase frequency overall and ... |
I have a dataset of 300 cases of police students, spread over 6 semesters. They all filled out a survey at the same time (cross section), thus their experience is interval scaled since semester 1 means approximately 6 months of studies and every further semester has each 6 additional months.
I have an integrity measure... |
Suppose I've a yolov5 model trained on cars and second trained on bus and third trained on bike and so on. Is there a way through which I can combine all the model into a single model?
As by running all model it will take extra time.
|
I would like to calculate a confidence interval for the probability of a process succeeding after a given amount of time by running the process $n$ independent times and recording the time at which each run succeeded. Essentially, I would like to add confidence intervals to a plot like this:
I think this can be modell... |
I look at a binary DV for 139 companies over 8 years. Thus, I have panel data. I have three IV, of which one is also a binary variable, and several control variables.
As it is the first time that I look at a binary DV I have a few questions regarding pre-tests and the general approach and I am just insecure about the c... |
I'm performing a logistic regression using polynomial predictior for the first time. I would like to have an explanation on how to intepret the polynomial coefficient of this logistic regression:
Context: the target variable (presence) is a dichotomous variable that can be thought as suitable/unsuitable.
Here's the sum... |
I know that in an ANOVA with multiple factors (let's say x1 and x2), the sum of their respective classic eta squared (not 'partial' eta squared) cannot be greater than one and should approximate the total variance of y explained by those factors combined.
In my testing, I find that when x1 and x2 are negatively correla... |
Assume that we have $i=1,\ldots,n$ independent chi-square distributed random variables,
$$
X_i \sim \chi^2(k_i).
$$
What is
$$
P\left(\prod_i X_i \leq c\right)
$$
for some $c>0$?
Note: I am hoping that someone knows this result already or knows where I can find it. How to derive it, I do know.
|
I understand this topic is well covered here, but having read several threads, I can't find an explicit or clear answer to my question. I looked at the following threads and can't glean an answer from any of them.
Analysing log and square-root transformed variables
Interpretation of log transformed predictor and/or res... |
I have a set of models, that I'm comparing to each other with respect to prediction of a binary event. I'm using a few proper scores (Brier, log), but I also need accuracy, recall, sensitivity etc., since the people I work with are more likely to understand them.
However, I'd like to do this without applying an arbitra... |
I've read many documents/articles on Bayesian Inference using MCMC and they always mention that this is not optimization. Now, I understand that MCMC is only used to compute integrals and that this integral is the one needed for the normalization constant in Baye's theorem.
Let's say we're doing bayesian inference to i... |
I am calculating ICC over 16 items rated by 41 raters, using the ICC function from the psych package. The output is:
ICC 3,k = 0.99; number of subjects=16; number of judges=41
When I compute Cronbach’s alpha over the same dataset, using cronbach.alpha function from ltm package, I get an alpha equal to ICC 3,k, that is... |
I have three dummies related to three political aspects of "TRUST"..
1)"Government ministers trust" measures trust on government ministers;
2) "Prime Minister trust" measures trust on prime minister;
3) "Program Implementation Trust" measures trust on the ability to implement the Governmente program.
For each of these ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.