All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

In general, does $P(R|N)>P(R)$ implies $P(N|R)>P(N)$ ? Seems to be confirmed by Venn diagrams example but contradiction with Bayes' theorem

Let $R$ and $N$ be two dependent events, such that $P(R|N)>P(R)$. Does this implies that $P(N|R)>P(N)$. The odds are this is true (and equivalently $P(R|N)<P(R)$ implies $P(N|R)<P(N)$). I ...
niobium's user avatar
  • 167
0 votes
0 answers
4 views

Sample size for a vector of proportions and simulation

Currently, there are more than 10 variants of omicron virus. Say, variant proportions are X1=0.1, X2=0.35, X3=0.15, etc. I need to calculate the number of samples needed to detect the proportion of ...
ariadnaoliver's user avatar
0 votes
0 answers
8 views

How to guess a random walk to achieve max sample correlation?

Define this 1-D discrete random walk start from 0: roll a die (the die may or may not be fair), if $d\in\{1,2,3\}$, go left for 1 step, 2 steps or 3 steps ...
cat's user avatar
  • 53
0 votes
0 answers
4 views

How to understand anova in the rms package

There is an example for calculating the Wald Statistics using anova.lrm of rms package. ...
li jiaqi's user avatar
0 votes
0 answers
5 views

Inconsistent posterior from hierarchical survival model

I asked about this question on Stan forum but no one replied to dual posting here. I'd really appreciate some insight, as I'm completely stuck. I’m trying to do hierarchical survival modeling using ...
Ville's user avatar
  • 71
0 votes
0 answers
2 views

What are the inputs of marketing mix modeling?

Given a hypothetical dataset: ...
Katsu's user avatar
  • 971
0 votes
1 answer
15 views

likelihood ratio tests on bounded parameters

I am confused by the likelihood ratio test's boundary condition limitation. A commonly stated is that it causes problem for variance parameter because it is bounded below by 0. Can these models ...
quibble's user avatar
  • 1,502
0 votes
0 answers
3 views

Nonlinear indirect effect in lavaan & semTools

I would like to use semTools to examine several indirect effects. However, some predictors have nonlinear relationships (i.e., quadratic) with the mediators, but I found very little information online ...
Dale's user avatar
  • 11
0 votes
1 answer
30 views

Question About Bayesian stats( from a DSP estimation theory book)

from "Fundamentals of Statistical Signal Processing, Volume I: Estimation Theory" It is a fundamental rule of estimation theory that the use of prior knowledge will lead to a more accurate ...
da7666's user avatar
  • 51
1 vote
0 answers
11 views

Help interpreting the use of Chi-square to determine if race course has any lanes with an advantage

Here's the situation. Say you're given a race course with lanes 1-8 on the water and it is suspected that some lanes are faster than others. Faster lanes would have more higher places (1st, 2nd, etc.)...
user6972's user avatar
  • 111
0 votes
0 answers
11 views

Testing difference between two models using WAIC and degrees of freedom of WAIC

I am conducting Bayesian penalised regression, horseshoe specifically, in R using the bayesreg package see here. One model is nested within the other, i.e. to the second model I have simply used all ...
llewmills's user avatar
  • 2,161
0 votes
0 answers
6 views

How can uncertainties in a generative model be propagated to an overall log-likelihood?

I am trying to use a Bayesian approach to carry out model selection and estimate the posterior distributions for parameters in a peak fitting scenario (quasi elastic neutron scattering). The ...
Andrew Nelson's user avatar
0 votes
0 answers
4 views

Segmentation 3D architectures

I would like to ask you for advice on the best solution for my problem. I have a task to segment an object based on some of its signal. That is, I have input objects of size T x H x W, where T is time....
Maxim's user avatar
  • 11
0 votes
0 answers
4 views

Incompatible confidence intervals between the series object and the summary output

I am facing a strange behavior with the CausalImpact package that I don't know how to interpret. Below is a reproducible example ...
Abdullah Abdelaziz's user avatar
0 votes
0 answers
8 views

Normal distribution in SPSS [closed]

I have to make an research paper and after I check for my distribution wit kolgoomorov test in SPSS just 3 of my 10 variables didn't had signification, I normalized them with IDF normal from compute, ...
Adrian Nare Loooool's user avatar
0 votes
0 answers
8 views

Math behind the standardized effects from Minitab

I would like to understand the mathematics behind the Standardized effects (SE) as found in, e.g., Minitab. I'm far from an expert in statistics, but I found this page which treats the same question. ...
F. Heath's user avatar
1 vote
0 answers
15 views

Choosing a unique visitor on the fly

I've been thinking of this as the "Prize of the Week" problem. Suppose you run a shop, and want to give out a prize once a week to someone making a randomly-selected purchase. You give out ...
Ralph Giles's user avatar
0 votes
0 answers
10 views

Non-informative prior in Bayesian Linear Regression

It's known that in Bayesian Linear Regression with $\text{Inv-}\Gamma(a_0, b_0)$ prior on variance parameter $\sigma^2$, the posterior distribution after $n$ observations $(X, Y)$ is $f(\beta, \sigma^...
user71111's user avatar
0 votes
0 answers
9 views

Post-hoc tests for a Generalized Linear Mixed Effects Model

This question is linked to this one. I wanted to know whether the application of a treatment would have a significant effect on the proportion between healthy leaves and infected leaves. I have the ...
GiorgioS's user avatar
0 votes
0 answers
7 views

What is the probability of condition rating 5 following a given condition rating?

I have an asset management system in which assets are given a condition rating from 1 (good) to 5 (bad). Assets are inspected and given a rating every year; new assets start with condition rating 1 ...
camarones95's user avatar
2 votes
0 answers
17 views

Is there a likelihood penalization or (im)proper prior to remove estimation bias for gamma parameters?

So I am learning that maximum likelihood estimation of the parameters for a gamma distribution are biased. As far as I understand there is no guarantee in general that there exists a prior (or base ...
Galen's user avatar
  • 9,014
0 votes
0 answers
4 views

What is the formula to calculate win probability based on GLICKO1 and GLICKO2 ratings? [closed]

Given non-draw game, rating, mu, phi and sigma for GLICO1 or GLICO2 systems, how to calculate win probability for parties? I've searched information about these systems, e.g. http://glicko.net/glicko/...
SS_Rebelious's user avatar
0 votes
0 answers
20 views

P values not matching data in mixed effects analysis

I have a dataset that consists of the oxygen consumption (MO2) values for 3 different species of fish. My experiment was a repeated measures design where I measured MO2 of the same 14 fish per species ...
Allison's user avatar
  • 11
0 votes
0 answers
4 views

BACI Experimental Design

More of a stats question than a coding question. I have data from a BACI experimental design. I have the following variables: Year: Pre, Y1 and Y2 post Treatment: treatment and control 3 Zones ...
Hillary Sullivan's user avatar
0 votes
0 answers
7 views

How to obtain the Average posterior probabilities from a lcmm model

How could I obtain the average posterior probabilities (APP) from a lcmm model object? I would like this parameter to help me choose the best-fit model.
ACOM's user avatar
  • 43
1 vote
0 answers
11 views

How to compare the performance of a linear regression model with a mixed effect model

I am analyzing data on glucose levels in mice between control and genetically modified (KO) mice. I have performed this experiment quite a few times (>5 independent experiments). For the analysis, ...
André Barros's user avatar
0 votes
0 answers
10 views

Multiple regression model for devices located in different countries

How can I deal with a regression problem where I have a group of time-series signals (40) and predict a few features, the situation is that the data comes from different devices located around the ...
Yassin's user avatar
  • 101
0 votes
1 answer
10 views

Can I use multiple T tests as an alternative to post-hoc testing after AN(C)OVA? If so, how can I do this in R?

I have a dataset where I have measured a phenotype across multiple years and multiple varieties of a crop. The first way I have searched for a relationship is a two-way ANOVA, where I ask "Is ...
user avatar
0 votes
0 answers
7 views

Rank the sensitivity among multiple calibration curves

Let's say that, with a measurement device, we have a linear relationship between an output measurement I (in mV) and the concentration ...
Basj's user avatar
  • 588
2 votes
2 answers
85 views

Why is there such is difference in sample size estimation between Lehr's method and Statsmodels [closed]

I have been using Lehr's rule to estimate the required sample sizes for some experiments I have to run. Lehr's rule states that we need: $$ n = \frac{ 2\left(z(1-\alpha) + z(1-\beta)\right)^2 \sigma^2}...
Tom Kealy's user avatar
  • 149
1 vote
1 answer
26 views

Very unstable model and mostly insignificant variables in fixed effects regression model

I have been trying to create a regression model for my master thesis for the last week and I am stuck with the following issue. Currently seeking any help I can get, so greatful for any input you ...
DataScience-Student's user avatar
2 votes
0 answers
17 views

How do I argue for control variables in a two-way fixed effects model when the treatment is EU legislation? [closed]

First of all i dont know if this the appropiate place to post this question. Im using a two-way fixed effects regression to analyse the whether an eu directive effects on a companies profit is ...
user413005's user avatar
1 vote
0 answers
12 views

What causal inference method is suitable to identify the effect of different components of a webpage on the decision to purchase?

I am getting started with causal inference for a project where I want to evaluate the causal effect of different components of a webpage on users' decision to purchase. For illustration purposes, let'...
gummy's user avatar
  • 11
0 votes
0 answers
13 views

Widening the observation table as much as possible to get one row per observation: Always efficient?

I have a table of observations, or rather 'grouped' observations, where each group represents a deal, and each row representing a product. But the prediction is to be done at a Deal level. Below is ...
Salih's user avatar
  • 287
0 votes
0 answers
19 views

Is this post correct about interpreting the likelihood function?

I'm reading this medium article where the likelihood formula is used: \begin{equation} L(\theta) = \prod_t^V \prod_{-m\leq j \leq m,\, j\neq0} P(w_{t+j}|w_t;\theta) \end{equation} $\theta$ are ...
Mah Neh's user avatar
  • 115
7 votes
3 answers
213 views

Interpretation of logistic regression coefficient

Within logistic regression framework, odds are defined as: $$\frac{p(X)}{1-p(X)}=e^{\beta_0+\beta_{1}X}. $$ In the textbook "An introduction to Statistical Learning" (Gareth James, et al., ...
Sane's user avatar
  • 435
0 votes
0 answers
13 views

Randomly chosen elements [closed]

Suppose we have $f:G\to H$ group homorphism if $f(x+y)=f(x)+f(y) \exists (x, y).$ Define a set, $$B=\{x\in G:P_{y\in G}\{f(x)\neq f(x+y) -f(y)\}\geq\frac{1}{2}\}.$$ My question is that how can I prove ...
David's user avatar
  • 149
0 votes
0 answers
10 views

Reinforcement learning give reward after finishing the data classification instead of acting one by one and CNN based reinforcement learning [closed]

I am trying to write an reinforcement based based trading system and while trying to do that, the only way that I can do and I found is rewarding the model for each action but it actually performs bad ...
ug0x01's user avatar
  • 1
3 votes
1 answer
34 views

Estimating an ARMAX model using an I(2) exogenous variable

Is it valid to estimate an ARMAX model using I(1) and I(2) variables, which are made stationary after first and second differencing, respectively? For instance, I have an I(1) stock price variable, ...
Pepe Frog's user avatar
0 votes
0 answers
15 views

Predicting if individual has a trait based on their previous locations (distribution of trait at locations is known)

I have been thinking about a problem and I was wondering if anyone has the right name/method/textbook of how this problem should be approached, or if they would be willing to help with finding a ...
oventerrible's user avatar
0 votes
0 answers
13 views

95%CI of the relative Effect and p-value

We’re using CausalImpact package to assess the influence of COVID on antidepressant consumption and we’ve got a question from one of the reviewers. How can we obtain an 95%CI of the Relative Effect ...
Fernando Fernandez-Llimos's user avatar
2 votes
1 answer
28 views

How to Predict a Growing Time Series with Changing Slopes in Python?

I have a univariate time series dataset that represents a continuously growing trend, but the slope changes at different intervals. I want to predict future values of this time series. Here are some ...
Amine Boutaleb's user avatar
0 votes
0 answers
11 views

How to conduct statistical analysis on scattered paired data [closed]

my data is structured as follows: I have longitudinal paired data of multiple individuals (N = >100 ) for 5 timepoints. But I do not have data for all timepoints for most of them mostly only have ...
CleDie's user avatar
  • 1
0 votes
0 answers
9 views

How to make Cen object (NADA package) with both right and left censoring [closed]

I have a dataset with both right and left censored data. I want to parameterize it with survival models in R statistical software. Specifically, I want to use is NADA package especially developed for ...
Michael Romanov's user avatar
2 votes
1 answer
25 views

General question about exact matching on variable/s

I haven't used matching a lot but have certainly read many papers (some quite old and obviously before propensity scores were used much) that have talked about 1:1 matching on age, sex, etc variables ...
LucaS's user avatar
  • 735
0 votes
0 answers
21 views

How would you explain this random forest output? [closed]

This is an output from pdp::partial(mod.rf, pred.var = c("var1", "var2"), plot = TRUE, smooth = T, plot.engine = "ggplot2", rug = T) <...
user3742304's user avatar
0 votes
0 answers
11 views

Model parameter averaging in Bagging

I wonder if the following bagging method is used in practice, or at least any reference for this. Assume that we sample (sub)-datasets from the original training set, and train $n$ many logistic ...
Seewoo Lee's user avatar
0 votes
0 answers
18 views

Outcome vs. elementary event, which of them is assigned a probability?

A previous question here asked about the difference between "outcomes" and "elementary events". The answer was that An event is some subset of the sample space. One possible event ...
invalid syntax's user avatar
0 votes
0 answers
19 views

Prove that variance of log Exp is greater than variance of Exp log

In the context of variational inference, we move from estimating the gradient of: $\log E_{q \sim Q(z|x)} [ \frac{p(z,x)}{q(z|x)} ]$ to: $E_{q \sim Q(z|x)} [ \log \frac{p(z,x)}{q(z|x)} ]$, which is ...
user3180's user avatar
  • 591
0 votes
0 answers
12 views

Why are these Partial Residual Plots similar despite having different y-axis (partial residual range vs. component + residual)

I am working to produce some partial residual plots to better communicates the effects associated with each independent variable in a multiple regression model. I am using two methods to plot these ...
Kaliber's user avatar
  • 31

15 30 50 per page
1
2 3 4 5
4300