instruction stringlengths 9 38.7k |
|---|
I am trying to fit a beta regression model in R with the outcome variable representing proportions, so that the model accounts for all of the constituents of the whole fraction. I am unclear how to keep track of multiple constituents at once. I have looked at a lot of different examples (using, for example, the betareg... |
I was looking for recommendations for an outlier rejection problem I find myself needing to solve.
I have a set of measurements (12 at a time) which vary sinusoidally according to
$$
d = \begin{bmatrix} \cos\theta\cos\phi\\ \sin\theta\cos\phi\\ \sin\phi\end{bmatrix}^T \begin{bmatrix}a\\b\\c \end{bmatrix}
$$
where the m... |
Here is a exercise from *Mathematical Statistics. Jun Shao. Second edition. EX2.20
Let $X_1,..., X_n$ be $i.i.d.$ random variables having the exponential distribution $E(a,\theta)$, $a\in R$, and $\theta > 0$.
$$
f(x,a,\theta)=\frac{1}{\theta}e^{-(x-a)/\theta}I(x>a)
$$
$$
F(x)=1-e^{-(x-a)/\theta}
$$
Show th... |
I want to test overall skewness / normality in a large data set of ordinal data from survey questions.
(I couldn’t use Shapiro wilk as I received an error saying the dataset is too large as it has over 20,000 data points):
boxplot(DATAFRAME)
describe(DATAFRAME)
What functions could I use to transform skewed data into a... |
I am studying MCMC by "Handbook of Markov Chain Monte Carlo" by Brooks, Gelman
This book is nice to explaining many fundamental concepts regarding MCMC. Especially in first chapter, they explain how Metropolis-Hastings algorithm coming from.
However, I can't really get what "Gibbs update" (or Gibbs sampling) explain he... |
I'd like to prove what concentration parameter $\kappa \in [0, \infty)$ maximizes the (differential) entropy of a von-Mises Fisher Distribution.
The differential entropy of of a von Mises-Fisher distribution $vMF(\mu, \kappa)$ is:
$$-\log C_D(\kappa) - \kappa A_D(\kappa)$$
where
$C_D(\kappa) = \frac{\kappa^{D/2 - 1}}{... |
I have a set of 30 patients. Each patient has a variable number of observations over a variable length of time(ranging from 4 to 10 data points per patient).
My outcome variable is whether they have gained or loss/stabilised their weight at any given point in time. I calculate this weight gain/loss by taking their weig... |
Question - In a year there are 956 births in a town A of which 52.5% were males, while in town A and B combined, this proportion in a total of 1406 births was 0.496. Is there any significant difference in the proportion of male births in the two towns?
Isn't the Question mentioned above (same question with its solution... |
I have the following contingency table that results in statistically significant result of Pearson's $\chi^2$ Test for Count Data.
I've computed Pearson residuals that should have the same properties as the z-score (elaborated in the answer Correlation among categories between categorical nominal variables). However, ... |
I want to test overall skewness / normality in a large data set of ordinal data from survey questions and was wondering how this can be done?
(I couldn’t use Shapiro wilk as I received an error saying the dataset is too large as it has over 20,000 data points)
I have used these R commands so far but not sure if they ar... |
Girl's Night
Audrey, Brooke and Caroline are planning a long movie night. They want to binge-watch some films together from their favorite director. But they can't decide on the selection of movies, because they have a deal that they must all agree on the films they watch. Moreover, their preferences are very different... |
As we know, one of the major weakness of conventional HMMs is related to the modelling of
state duration, as the probability of state occupancy decreases exponentially with time. There are multiple solutions to that, and one of them centers around replacing the conventional forward (and also backward) recursion step:
\... |
I have two time series $X_t$ and $Y_t$ .
The cross-correlation at lag $\tau$ is defined as
$$
C(\tau) = \frac{\langle X_t \; Y_{t-\tau}\rangle - \langle X_t \rangle \langle Y_{t-\tau} \rangle }{\sigma_X \sigma_{Y}}.
$$
I want to compute a null model for $C(\tau)$ at each lag $\tau$.
For normal correlation ($\tau = 0$) ... |
The recent paper by Liu et al. 2023 (https://onlinelibrary.wiley.com/doi/epdf/10.1002/ajh.26998) describes a single-arm study on crovalimab.
In the maintenance phase (weeks 5 to 25) patients were receiving the treatment and were evaluated every 4 weeks. The authors report the mean proportion of patients with hemolysis ... |
Why is the fact that the support of each $f$ belonging to a Cramér-Rao regular model does not depend on the parameter implied by the condition that the derivative with respect to the parameter of $f $ exist for every $x$ and every parameter belonging to the parameter space? Or better why an indicator depending on the p... |
would anyone know what command could be used to test whether the oblimin exploratory factor analysis function in r has produced the most simple structure? (as my understanding is oblimin does not always produce the most simple structure and that this may need to be adjusted)?
|
First off, it's difficult to title the question without the knowledge of the field, Please bare with me as I, very much a novice, attempt to explain the issue:
I have summary statistics for over a million variables. Each collaborator has mostly the same set of variable (around 90% similarity) and we are measuring longi... |
I am reading Cusato and Castillo (2023), an IDB Working paper on the effect of broadband internet expansion and access to credit in Peru.
The authors use a staggered difference in difference approach - as expected, they run tests to validate that the common trends assumptions holds.
Their analysis is at the Centro Pobl... |
I would like to convert the mean score of a sample that was administered a questionnaire using a six point likert scale into a mean that is comparable to the same questionnaire using a four point likert scale.
The questionnaire in question is the Rosenberg Self-Esteem Scale (RSES) which is most commonly administered us... |
I am running a second order model with betweenness centrality and closeness centrality as independent variables and cognitive demand as dependent variable.
The results shows that betweenness centrality is not significant as a linear variable but is positive and betweenness centrality^2 is positive and significant.
Clos... |
I am trying to implement the MDE method for GARCH given by Baillie and Chung '01 (Estimation of GARCH Models from the Autocorrelations of the Squares of a Process, Jrl. of Time Series Analysis) but I can't understand it enough to implement the algorithm.
For a squared process $X \sim GARCH(\theta)$ with size $n$, MDE c... |
I want to identify the matris form of general y=f(x) function for:
y(x)=p1x+q1 x<a1
=p2x+q2 x<a2
=p3x+q3 x<a3
=p4x+q4 x>a3
where a1,a2,a3,p1,q1,p2,q2,p3,q3,p4,q4 are unknown parameters to be approximately computed in paper : https://fr.scribd.com/document/380941024/Regression-par-morceaux-Piecewise-Regression-pdf
|
I'm doing a regression between Institutional Investment and Total Debt for 500 companies over 2000-2022. Basically, it's panel data. I get the results of the regression and I see that the two are correlated. Now, please guide me as to how I check if that correlation is also a causation with X affecting Y or Y affecting... |
Problem summary: How does the calculation of entropy differentiate between the "randomness" of two sequences that comprise the same set of elements?
Following this paper, let's say I have two vectors, v1 which is produced from an obviously predictable pattern, and v2, which is less so. The two vectors have the same mea... |
I have been reading up on Linear Mixed Models with random slopes, and I have a question that I could not find addressed anywhere. I have seen a lot of R model formulae (example) where random slopes interact with fixed effects, but what is the analytical form of the regression equation when a mixed model has a random ef... |
Suppose i am performing a test using the lme function, on some ecology data, i.e. count data. Say this is the formula:
a_model <- lme(fixed=Abundance~Treatment*TimePoint, random=~1|Plot, data=some_data)
Say i do this for many taxa (and yes, i know i have to correct for multiple testing). How do i compute the log fold c... |
I know you can compare Weibull distributions using the likelihood test but I was asking if there is a way to compare individual parameters like (shape and scale) between different distributions. A similar process is provided by Minitab I'd like to know if such approach is possible using R.
A similar question was asked ... |
I am trying to figure out how best to analyse fruit weight data from an experiment involving samples of both open-pollinated and unpollinated fruit from each of 10 different pollination treatments.
I had expected the unpollinated fruit from each treatment to be similar in terms of fruit weight because the growing condi... |
I'm using double machine learning (DML) to estimate a conditional average treatment effect (CATE). The main idea is as follows, see here for more info.
\begin{split}
Y - E[Y | X, W] = \theta(X) * (T - E[T | X, W])
\end{split}
The first two models, to estimate the outcome (Y) and the treatment (T), are gradient boosting... |
Straightforward question. Kind of like bucketing too.
Say you have a customer survey. The customer rates 1-10, or 1-5.
Say you want to use this to predict other behaviors. Reorder rate, refund rate, whatever. I know data science is a massive field but --
Is there a specific art, or methodology, whereas --- you may disc... |
I'm doing some analysis over natural language data, which basically entails:
Computing some feature over all samples.
Evaluating if this feature statistically significantly discriminates between sample groups with relative $t$-test.
This dataset has several thousand samples per group. I'm getting a lot of features as... |
I'm facing an issue while conducting the Kolmogorov-Smirnov (KS) test with two datasets of different sizes: 84 and 28 samples. I got these sets from normal distribution. I've noticed that the calculated p-values seem to cluster around certain values, leaving gaps in between. After some research, I came across the conce... |
I am trying to train a machine learning model to predict the probability that a given credit card customer defaults within the six-month window after the observed date. In this context, default means the customer failed to pay one or more of his credit cards for more than 90 days.
To do this, I have gathered monthly da... |
Suppose I have 100 observations among 4 variables, a Y with no missing values, then X1, X2, X3 that each have 10 (distinct) missing values, so that the complete case analysis has only N=70 observations.
When performing forward stepwise model selection, the variable selection sequence may be determined by fitting models... |
I have two multidimensional datasets $X, Y$ of dimensions $m \times n$. Here $m$ is the successive measurements and $n$ is the data collected during each measurement. We can say each of $m$ are independent of each other but the $n$ features of the measurements are correlated.
My goal is to find the mutual information o... |
My question follow this one.
Metrics such as MASE and MSE have better properties than MAPE.
However, MAPE has an excellent appeal for business areas, because it is easy to interpret and it is compared to the real data.
Where I work, they use cMAPE to select the models and it is calculated as:
$$\text{cMAPE} = \frac{|\t... |
I did an experiment where I randomly assigned participants to control and treatment group. All performed a task in which they had to illustrate images and then select one image in the end to be payoff relevant. I find a treatment effect on performance on the selected image (selected images in treatment group are on ave... |
I have created a Generalized additive model of a multinomial distribution using the mgcv package, I have used check.gam to do some diagnostic tests but they look pretty dodgy and I'm not sure completely what they mean. Could anyone help me interpret them.
First the model:
model1 <- gam(list(substrate.numeric ~ s(depth)... |
Consider the results of a competing risks survival analysis model published in a journal. The model examines the relationship between legislatures and coups. Legislature, the main explanatory variable, is a binary indicator that takes a value of 0 if no legislature is present if 1 if a legislature present. The authors ... |
My data shows the daily number of logins per person over the last three months.
I am modelling the number of events per person per day as a Poisson process. I am interested in estimating the population parameter $\lambda$ that represents the expected number of logins for any given person on any given day.
Given my data... |
I was a bit confused recently with why two jointly distributed variables will exhibit a smaller scatter as the correlation between the random variables increases (assuming only positive values for the correlation coefficient), but the standard deviation of the function of the sum or difference between these two variabl... |
I am using glmer from lm4 in R to run an explanatory IRT analysis. The aim is to model person parameters with items nested in persons and to control for age (the test scale has 10 items; all persons respond to every item). I want to run a cross validation and I have a training dataset (700 persons distributed over an a... |
I have seen various articles putting error bars on distribution density of either ordered categorical variables or categorical variables.
$Q:$ When is it appropriate to put SE error bar on estimated distribution for an ordered categorical variable? Had my study been census, there would be no error bar. If my study cann... |
I am working on a problem where I'm using tree-based models (RFs, GBTs) for forecasting. I've read that I have to de-trend the data if I'm using a tree-based model, however, I am reading conflicting opinions on whether or not to remove the seasonality as well. What is the correct answer?
|
When I think of the phrase "Bayesian PCA" I think of two things, but these two things are what I have contrived rather than conventional notions. I would appreciate guidance on what these approaches a called.
Method 1: To eigenstuff from another process
Suppose I model a random data matrix $\mathbf{X}_{m \times n}$ acc... |
The model
ŷ = b0 + b1X1 + b2X2 + b3X1X2
ŷ =company financial performance metric
X1 = carbon emissions
X2 = carbon assurance
X1X2 = interaction term
The issues:
Let’s say:
• X1 + X2 are related (but there is no perfect multicollinearity)
• X2 is endogenous
The questions that I would like to address based on the mode... |
I have a question about what's the ideal test to run for my study design. I would appreciate any advice!
I have:
• One within-subjects factor: time (5 levels)
• 2 between-subjects factors: group (2 levels) and treatment (2 levels)
• And one dependent variable which is the levels of a biomarker in the blood.
I would lik... |
I want to explore the roles of lung presence and habitat on tadpoles' ability to tolerate low oxygen levels. My experimental design generated several measurements of "responsiveness" (on an ordinal scale from 1-6) per individual. Individuals were either subjected to a high oxygen treatment or a low oxygen treatment, an... |
I am majoring in economics and I am reading this paper by Crossley & Kennedy (2002). It discusses the reliability of self-assessed health status (that is "In general, would you say that your health is excellent? very good? good? fair? poor?"). They determine that self-assessed health status has considerable measurement... |
I am comparing communities of insects between three different land use types (n=4 sites for each). I made an NMDS plot and all the groups looked very separate from each other (especially greenbelt sites). I figured an ANOSIM test would be an appropriate way to test if my communities are significantly dissimilar from ea... |
I am trying to do meta-analysis using a numerical variable (caculated dose value from different studies) with their sample sizes. I am planning to get the summary of the dose variable as follows with this equation: ni=sample size of that specific dose; dosei=dose value
Summary dose = Sum(ni*dosei)/Sum(ni)
This could ca... |
I have collected data on 1680 test scores and 1680 participation rates from 7 different courses and 4 different semesters using information from 60 students.
I am confused of whether to use a correlation test or distribution comparison test to analyze the following questions:
1. Considering that each course has a varyi... |
Hello fellow StackExchangers,
Let's say I have an experiment where two people are asked several questions, and for each question, they can independently select one of 5 preformed answers (A to E). So the answers may look something like this as an example:
Q1. D C
Q2. B B
Q3. D D
Q4. A E
......
I am interested not in th... |
I am doing some stuff with the SciPy's levy_stable distribution. The documentation says:
levy_stable.pdf(x, alpha, beta, loc, scale) is identically equivalent to levy_stable.pdf(y, alpha, beta) / scale with y = (x - loc) / scale.
Then, I understand that
levy_stable.pdf(x, alpha=1, beta=1, loc=0, scale=10)
should be ... |
I am wondering is there any established framework to optimize the parameter $\lambda$ of a particle filter such that $p(O|\lambda)$ is maximized, where $O$ is the observation sequence. For HMM and Kalman filter this can be done via the EM algorithm, which guarantees a local convergence. Is there something similar for p... |
I have been working on decomposing a monthly time series of the country's exports using JDemetra+ with the X13-ARIMA-SEATS model. My aim is to break down the series into its Trend, Seasonal, and Irregular components and then perform seasonal adjustments. The objective is not forecasting, but to utilize seasonally adjus... |
I am currently working through some math related to my work, and trying to understand how the individual pieces of the following equations come together for the Fisher information matrix expression (Eq. 8). I attached part of the document it comes from, but will attach formulas at the bottom as well. From what I unders... |
I encountered a multi-class classification problem and I wonder which model would work the best in my scenario. I have around 50,000 vectors (each of size 200) with corresponding categorical labels expressed a vectors of size 500 (closer categories correspond to closer vectors). There are around 5000 distinct labels. I... |
I am interested in using penalized regression (LASSO) with the glmnet engine in tidymodels to fit a model with a response variable that is continuous and bound between 0 and 1. I am familiar with how to fit a model to this type of data using a more "standard" generalized linear modeling framework (say, using the beta f... |
I'm learning about collaborative filtering, and all the resources I've found so far describes how to find items a user might like. However, how would I find the most similar users to a specific user, given the following conditions:
The user-item ratings are sparse, i.e., most of the items are likely not rated by a use... |
I have a question which makes me so hurt.
Let's have a price time series $y_{t}$ for the same asset (for example, daily S&P 500 values) $y_{t}$
It can be trendy (trend stationary or difference stationary) or not (stationary for the first moment, for example).
Currently, I can use 2 approaches: calculate the ARFIMA-GARC... |
I am kind of new to statistics so this might have been asked before (and I either haven't found or understood it).
Given a dataset of fractions: $[a_1/b_1, a_2/b_2, .. a_n/b_n]$, the overall ratio of the dataset would be calculated like this: $ \frac{\sum_{i=0}^n a_i}{\sum_{i=0}^n b_i}$ (1) - (not sure if it would be c... |
I am predicting a time series $y$. I have a baseline prediction time series let's call it $x$. By baseline I just mean a prediction I will later improve on.
I did more research and found that I can systematically come up with another time series $z$ that have lower or even negative correlation with $y$. $z$ has a prett... |
I am trying to interpret the results of a competing risks survival analysis. I am interested in understanding the effect of the variable party on the risk of a protest. Note that party is a binary variable that takes a value of 1 if a party is present in a given country-year observation and 0 otherwise.
Estimates:
... |
I determine that Team A achieves higher customer satisfaction scores than Team B with wilcoxn rank sum test. A customer satisfaction score is calculated from different sized groups of customers, and the different sized groups of customers can be repeated in the data. Each team will never have the same groups of custome... |
Can AIC/BIC be used to compare logistic regression against a random forest (RF) model? I've seen discussion where AIC/BIC is more apt for linear models and not RF.
|
Coefficient in Black, P-Value in Blue and Standard Error in Red. Using these results, can I deduce whether X or Y is the lead or lag variable in the time-series?
|
I'm trying to make a Quadratic Discriminant Analysis in R, but appears the follow mistake: "some group is too small for 'qda'". I was reading about it and I concluded that I have more columns (variables) than rows in a level of my categorical variable. Then, I want to know what criteria could I use to delete more varia... |
I'm working on my Masters Thesis and I'm encountering an issue regarding model convergence.
A bit on the background: the thesis is about utilitarian decision making in moral dilemma situations and its relation with dark personality traits (such as Psychopathy, Narcissism etc.) and potential moderating effects of charac... |
I'm working on developing a neural network (NN) to predict the duration (in seconds) of a fault. However, I've encountered a couple of challenges:
Model Performance: My neural network seems to be predicting near the average fault duration, and the loss is currently high (over 10,000). For instance, with previous data:
... |
I ran mice function and generated 3 mice imputed datasetes.
I have a nonstandard model that is not supported by with function so. I used this example and pool_parameters below to pool the model estimates based on Rubin's Rules.
models <- lapply(1:imputed_data$m, function(i) {
mixed_model(
cbind(incidence,... |
I am fitting a gam model with multiple environmental factors as predictors (actual evapotranspiration, climate water deficit, wind speed, etc).
My goal is to understand how each one of them contribute in explaining the variance of the response variable. Therefore, I am trying to calculate individual contributions of ea... |
I am trying to derive the differentiation of joint copula from this paper http://www.nicksun.fun/assets/ms_references/madsen2009.pdf, which is done in equation (4.3). To summarize
I fail to understand why the derivative of $z'\Sigma^{-1}z$ is $z'(\Sigma^{-1} - I_n)z$? Am I missing something?
Here $z = [ \Phi^{-1} (F_1... |
This may be really a simple question.
I know that if there are correlated variables, they may not be good to use for modeling. We have to use the PCA such that each PC is orthogonal to one meaning every PC is independent of one another.
If you have 4 variables, then you will have 4 PC at maximum. You have to determine ... |
I need to evaluate the impact of the Labour-Intensive Public Works programme on social cohesion using DiD. I chose a set of control variables and an outcome variable. The thing is to choose the right control and treatment groups for DiD estimation. The initial settings are as follows:
"Public Works Programmes (PWPs) ar... |
We know that if $X$ is positive, then $X^2$ is highly positively correlated with $X$.
I've plotted an array of integer numbers from 100 and 110 with the following code:
X = np.arange(100,111)
X_2 = X**2
plt.scatter(X, X_2)
plt.show()
The correlation as computed with the Numpy corrcoef function is pretty high: 0.99991... |
I'm working with data from an experiment that I plan to analyze using a mixed-effects logistic model. In this study, 200 participants (identified by the variable Participant) were randomly assigned to one of four experimental conditions (variable: Condition). Within each condition, participants were tasked with determi... |
Adaptive Markov Chains Monte Carlo (MCMC), unlike traditional MCMC methods that rely on fixed proposal distributions, dynamically adjust their proposal distribution based on the information gathered during the sampling process. This adaptivity aims to improve the exploration of the state space (shorter mixing time), le... |
UPdated to convey statistical question:
The underlying statistical question is one of which test to use: I have three models against a single dataset. I want to see which model is better. Is repeated measures ANOVA the appropriate test, or regular one-way ANOVA?
Also, is my number of groups 1 since I'm just testing aga... |
I am using statsmodels mixedlm as follows:
model = smf.mixedlm("value ~ categorical_variable", data, groups=data[year_id])
When plotting my residuals I get a distribution that looks like below:
It's very close to normal but there's a slight shift to the right. And in the Q-Q plot there is deviation at the tails.
I've ... |
So we introduced a new feature in our app, that would aid conversion (hypothetically).
When I tried to measure this incremental change in conversion, I split my base set of customers into control (C) 30% and test (T) 70% sets via random sampling.
Though feature was live to all customers for more than 2 months, we start... |
I know for LASSO and elastic net regression, standardization is important, because coefficient penalization in regularization will be biased if the ranges of data are different.
Meanwhile, OLS regression does not run into this problem. We are just using stochastic gradient descent to find the best coefficients to minim... |
If I have a company with 1000 employees and 20% are female, and I want to select 20 of them at random, can I say that there is 95% certainty that the number of female employees in the sample will be between X and Y, where X is 4+1.96sqrt(0.2(0.8)/20)20 and Y is 4-1.96sqrt(0.2*(0.8)/20)*20, so 0.5 to 7.5, or 1 to 8 afte... |
I use a Bayesian latent variable model to construct a time series cross-sectional measure of corruption for all countries in the world from 1960 to 2010. For each country-year observation, I obtain a latent estimate $\theta$. To illustrate, here is the code for the model:
# run the Stan model
mod.dyn <- stan(file="Dyn... |
I have a dataset containing 50,000 observations of individuals undergoing drug treatment in Chile from 2015 to 2019. I aim to examine whether polydrug use (intake of more than one substance at the commencement of treatment) impacts the number of crimes an individual is involved in post-treatment (treatment outcomes pro... |
I have been reading about the autoregressive conditional heteroskedasticity (ARCH) models and they seem amazing. I Understand that the model captures the volatile of the variance of residuals. However, is there a way to simulate and get some residual predictions. I am trying to use it for a model. I have fitted seasona... |
I have done a benchmarking of multiple learners on multiple tasks with nested CV (inner loop : CV 3F, and outer loop : CV 3F). My datas have 1052 observations and each task have 10-12 features.
I obtained the mean AUC and a standard deviation like this :
I want to compare the algorithms between them and I don't feel l... |
I would like to convert β-values into odds ratios. It is about table 1 on page 5 in the article
„A revised inventory of Adverse Childhood Experiences“
https://www.semanticscholar.org/paper/A-revised-inventory-of-Adverse-Childhood-Finkelhor-Shattuck/e8c839ac810be741ad4622916cb5726f4229c8ea
The methodology section of the... |
I am in high school learning about sample proportions and they say that $n$ is the sample size. The example they gave is you spin a spinner board where the chance of landing on a 1 in 0.6, and 0 is 0.4.
and the formula for the variance is: $$\sqrt{\frac{p(1-p)}{n}}$$
And go on to say that $n$ is the number of spins. T... |
I have seen that in many papers/competitions for causal inference, the assumption of strong ignorability is made -
$P(Y^{x}\perp X\mid V)$, where $X$ is the treatment, $Y$ the outcome and $V$ indicates the set of all covariates (all other variables).
Example -
Estimating individual treatment effect: generalization bou... |
In class I am told the influence function of the IQR should be a constant times the difference between the influence function for the 75th percentile and the influence function for the 25th percentile, but why is that?
|
I've been working on my master thesis, and I've been using R to test heteroskedasticity with Breusch-Pagan test.
The code is rather simple:
model_1 <- lm(GERD_HRQL~Dob, data=myresearch)
bptest(model1)
model_2 <- lm(Dob~GERD_HRQL, data=myresearch)
bptest(model2)
And the results are, respectively:
model_1: BP = 0.52928,... |
Set up a Bayesian analysis of an hidden Markov model and calculate the posterior distribution and the full conditionals, given this assumptions:
The state space of the hidden process has size m
$Z_t|X_t,\{\mu_i\}_{i=1}^m \sim N(\mu_{X_t},\frac{1}{\tau})$ with $\tau$ equals for all the states of the hidden process
$X_t... |
I am conducting a multinomial regression using multinom package in r. Outcome is the day the week a patient was discharged (7 levels) and there are a few predictors that are not choice-specific (age, sex, etc). However, I have some patients who had multiple observations. How can I address with multinom? I don’t think I... |
As a production planner, a variant of the following example has been bothering me for a long time; hopefully someone here can help me to view the problem in the right manner. Let's consider a hypothetical vendor that has been selling hot dogs at the same location from Monday thru Friday each week for many years. Over... |
Say I have a list of the letter grades of a class (meaning some number of As, Bs, Cs, Ds and Fs). Is there any way for me to take this discrete distribution and extrapolate it to the most likely continuous one? Especially given that the ranges for each letter grade usually vary (i.e. A might be from 90-100, a differenc... |
In my machine learning problem I am using a CNN to classify images.
Since my dataset is imbalanced I want to perform classification probability threshold tuning so I can find the optimal balance between sensitivity and specificity using G-mean over the returned values of the ROC-curves (explanation link).
I have split ... |
I have data on companies, each company ranks how important are the following 4 elements (price leadership, quality, innovation, and customization) for its competitive strategy.
There are 4 dependent variables, each capturing the (relative) importance of one of the 4 elements of the competitive strategies for the focal ... |
I analyse a set of physicochemical data from the river and two rows of wells - one located closer and the other further from the river (in the N-S direction).
The study's main aim is to investigate the variability (or heterogeneity) in the content of the different parameters at the water intake concerning distance from... |
I am performing a mixed-linear model and I am unsure how to address my sessions in this model.
The main question in my research is finding if psychological factors can predict neurofeedback success. I have 40 subjects that undergo 6 sessions of Neurofeedback training.
My data:
I have the average neurofeedback success ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.