instruction
stringlengths
9
38.7k
I have a risk model that I want to evaluate on different (patient) groups in order to compare how well the model is working on each of them. The groups may differ in size, baseline / prevalence / class balance, disease subtype / difficulty to diagnose, and basically everything else you can imagine. (Under which conditi...
I have data for a cross-over randomized controlled trial. I wonder if I can use MANCOVA to compare my outcomes (they are continuous) while having paired data. If I can't, what would be an appropriate test here? I have some covariates that I want to account for. I already did some Wilcoxon tests, but it didn't account f...
In problems where one of $3+$ categories can be observed and we prodict the probability of each category being observed, it is known that the Brier score is a strictly proper scoring rule that is uniquely optimized in expected value by the true probability values [1, 2, 3, 4]. The machine learning community often refer...
I have an experiment that involves $K$ Bernoulli trials. Trial $i$ has probability of success $p_{i, n}$ where $n$ is the current number of successes (so $0 \leq n \leq i-1$). If my random variable is the number of successes after $K$ trials, how do I go about calculating quantities such as the mean and variance? This ...
Suppose we have a regression model where y is the dependent variable and the predictor variables are x1, x2, x3 and x4. The corresponding betas obtained from the model are b1,b1,b3 and b4 respectively. Now, I have some extra information regarding the variable x1. The x1 has different categories x11, x12 and x13 such th...
I want to infer if a dependent variable (DV) can be predicted by several independent variables (IVs). Their relationship is non-linear and monotonic so I chose to use a GAM. Using the gam() function of mgcv, my model would look something like this: model <- gam(dv ~ s(iv1) + s(iv2) + s(iv3), data = data, method = 'REML...
I do not know how to perform this statistical test. I have a proportion of a bodily liquid substance, and I am interested in the ratio with respect to another. For instance, ratio of water (20l) and plasma (4l) = 5. There is a placebo and treatment group, so I wanna test if both ratios suffer from the same change (so i...
I am trying to plot fixed effects of $X_1$ and $X_2$ from my lmer model. I'm having trouble understanding the theory behind it: Model_n_1 <- lmer(logRT ~ Frequency + Response.number + X1 + X2 + (1|Response.number/Cue.number) + (1|Ps.number), data=df, REML=FALSE, control=lmerControl(optimizer="bobyqa")) I us...
Based on comments a previous question, I have changed my question. I am wanting to see if the addition of "novel" variables to a model containing "traditional" variables improves the prediction of levels of the DV. For example, age and blood pressure are established predictors of atherosclerosis, amongst others. I incl...
I have a question concerning a large dataset with 94 observation and 15000 variables. For data mining models (boosting, trees, neural networks...) this number of variables are too much and I have to select a subset of them. Is lasso (or adaptive lasso) a possibility? If not, what is the right way for selecting variable...
I am trying to figure out which analysis would best answer our research question. Our study aimed to find out whether the variation in surgical rate decreases in a group of hospitals after an intervention in comparison to hospitals whom didn't receive this intervention. We measured the surgery rate of each individual h...
I have two groups - device X and Y - and measured a continuous variable (angle) before and after treatment. I would like to test which device showed a larger difference in angle after the treatment. My initial approach was to calculate the differences for angle before and after treatment (after - before angle) and comp...
In clinical trials and other areas of applied statistics, we often need to model longitudinal data. In most introductions to modelling longitudinal data with mixed effects models that I have seen, there seems to be very little focus on modelling the residual covariance structure. In R the most popular package for fitti...
My Outcome is quarterly sales, which is right_Skewed and the range of it is large b/c different groups purchased differently. For Example, there are lots of groups that made zero or less than 10 purchases, but also some made 10,000 purchases. The negative values means some people return more than purchases. I have trie...
I am creating a churn model in python. The full dataset has around 90k records stretching back many years. I'm using a subset of the full dataset. This subset only includes clients where we've worked for the client in the last 15 years and the client was opened more than 2 years ago. The dataset has ~30k records and ~3...
I have a survey data and I applied KR20 on it. The KR20 score is 0.63 which means this survey result is not consistent and reliable, at least not in a reliable range with the definition of a reliable score based on the majority of academic and industrial resources (i.e. above ~0.75). Similar results (i.e. low score) a...
I have a dataset which contains time-series events in which each event is an item chosen from a unknowably large set of items. For example, let's say that the data entries are each music playlist entries in which a particular song was played at a particular time. Some of the songs will be quite uncommon and only played...
You observe a sample $X_1, \quad, X_{20}$ with the density $$ f(x, \vartheta)=2\left(x / \vartheta^2\right) I_{[0 \leq x<\vartheta]} $$ with an unknown parameter $\vartheta>0$, yielding $$ \min \left(X_i, i=1, ..., 20\right)=0.035, \quad \max \left(X_i, 1 \leq i \leq 20\right)=3.66 $$ Based on these data, give numerica...
I have a doubt regarding using "Bert" as a generative model. I know Bert can be used for classification or fine-tuning the question-answering. However, is it possible to use Bert to generate it's own idea. For example, Suppose I provide a sentence to Bert model like I spilled my drink, can you help? Can Bert model crea...
I'm struggling to grasp the intuition behind why LASSO can only select at most $n$ features when $n << p$, where $n$ is the number of samples and $p$ is the number of features. I've read through the other questions asking this problem on SE, e.g., 38299 and 386116, but their answers don't complete the picture for me. I...
I know there is a question that asked about a similar warning, but that user's "error" had to do with dummy coding while I think my problem has to be with statistical power and understanding random intercepts. I am attempting to run a binary logistic mixed model regression but I keep running into the "this parameter is...
Suppose $X$ is an $m\times n$ data matrix with $m\approx \infty$ and $X_k$ consists of random $k$ rows of $X$. How do I estimate the spectrum of $X$ from $X_k$? I can only reliably estimate $K$ eigenvalues where $K$ depends on $k$. Also, top eigenvalues of sample covariance of $X_k$ tend to be larger than top eigenvalu...
I have conducted genetic matching using the MatchIt package in R with the ultimate aim to compare the effect of the transition to a new form of land management. I got the matching weights (using match.data) and fit an lmer model (where sites are nested within landscapes) that also includes the percentage of habitat pat...
Let there be a multivariate distribution $F$ with margins $F_1,\dots,F_n$ and a Gaussian copula with "correlation" matrix $\Sigma$. Let the off-diagonal elements of $\sigma$ be positive. Let $X=\left(X_1,\dots,X_n\right)\sim F$ be a multivariate random variable. Are there any margins $F_1,\dots,F_n$ such that, despite ...
I am trying to derive the results in Opper and Archambeau, 2009. In the paper, they show that the variational free energy is the following (Eq. 3.2) $$ \mathcal{F} = \sum_n \langle -\ln \left[p(y_n|x_n) \right] \rangle_{q(x)} + \frac{1}{2}\text{Tr}(K^{-1}\Sigma) + \\ \quad \quad \quad \frac{1}{2}\mu^\top K^{-1}\mu -\fr...
I see that people usually implement pscore matching or control for pscore fixed effects. Why do I need to do pscore matching? Why can't I just include pscore as a continuous variable in my regression as follows? $$Y_i = \alpha + \beta D_i + \delta p(X_i) + \epsilon_i$$ Why do I have to run: $$Y_i = \alpha + \beta D_i +...
Do I really need a transformer-based language model if I want to instruct a robot very simple task? Suppose I give an instruction like "Go to the right and pick up the book from the table". I am confused because the language models are generative but the above instruction is pretty straightforward and the robot does no...
For my job I'm sometimes asked to find the driving factors behind a healthcare outcome such as total annual cost or # of inpatient visits. "Driving factors" typically means reporting average effects for various variables (age, sex, socioeconomic factors, medical diagnoses) estimated from linear regression or GLM coeffi...
I have some data with some relations which I would want to visualize. Background The data I have has the following fields: Current value: CV Value in 50 seconds: V50 Predicted Future (50s) Feature: P50 (Notice that the first two are the same feature just at a different time, the third one is a different feature: so...
Given samples from two Rayleigh-distributed random variables with unknown parameters, $X \sim R(\sigma_x), Y \sim R(\sigma_y)$, what tests can we use to determine if and to what extent their parameters ($\sigma_x, \sigma_y$) are different? For Rayleigh variables we have a closed-form unbiased MLE for the parameter $\si...
For weighted OLS, the objective function can be written as $$ \arg \min_{\beta} ||W^{0.5}(y - X\beta)||^2 $$ This is quite similar to the objective function for plain OLS, except without the $W$ term: $$ \arg \min_{\beta} ||(y - X\beta)||^2 $$ Now my question is how do we write the analogous weighted forms for weighted...
Assume there's a network with audio and video call classes. Audio call requires 1 channel (b1) and video call classes requires different channels based on the video call type (V_low=2(b2), V_med=3(b3), V_high=4(b4)). Cell size is 5 (C), Voice call arrival rate is 20 calls per hour and video call arrival rate is 0.4 cal...
In a survey I want to do I have the following problem: I have 20 clusters, and I need to choose 5. Each cluster has 10 observations, and I need to choose 2. Lets say that the probability of choosing a cluster is uniform and independent (1/4), and the probability of choosing an observation is uniform (1/5). Then, if I w...
This answer (currently 89 upvotes) states: AIC is best for prediction as it is asymptotically equivalent to cross-validation. BIC is best for explanation as it is allows consistent estimation of the underlying data generating process. However Model Selection and Multimodel Inference by Burnham and Anderson se...
I am confused about calculating degrees of freedom for external validation of a clinical prediction model. The calculation for sample size is as follows: We will include 4,875 patients. The recommended sample size for validation studies is a minimum of 100 events and a minimum of 100 non-events. During derivation, the ...
I'm doing a kalman filter and I need to sum two covariance matrices (Q1 and Q2) regarding two uncertainties I need to join. I'm tracking the position of an object from a referencial with a changing position and orientation. As the position of the moving referential also has an uncertainty, it also has a covariance matr...
Let $X_1,...,X_n$ has a Gamma$(\alpha,\alpha)$ distribution. Find the minimal sufficient statistics. Is this a complete family? My attempt: I found the Minimal sufficient statistics is $T(x)=(\sum_iX_i,\prod_i X_i)$ and I guess that this family is not complete because the parameter space has a lower dimension than the ...
Model Selection and Multimodel Inference by Burnham and Anderson notes that TIC, AIC, AICc and QAICc are based on K-L distance between a given model and true model. Also BIC is in a sense based on such a distance (1 if and only if the model is equal to the true model). Elsewhere in stats, people are explicit about loss...
I'm running a project on survey data where I have a bunch of very similar operationalizations of my DV (four different indices of my DV). Let's call it support for X behavior. All of them are normalized via min max normalization (if that's relevant). Because I only have so much space in a paper, I've been told it may b...
Regarding normality assumptions for model evaluation I have been told by my supervisor that it is not needed in the case of analyzing but is needed in forecasting only. i am looking for an explanation.
In this post, an unbiased estimator for the standard deviation of the standard deviation under normality is provided. I would be interested in such an estimator without the normality assumption, i.e., the standard deviation of the standard deviation for arbitrary distributions.
The problem goes thus: ${\{X_n\}}$ is an $iid$ sequence of random variables with mean 0 and variance $\sigma^2$. If the third moment is finite, show that $$\lim_{n \to \infty} \mathbb{E} \left(\left(\frac{S_n}{\sigma\sqrt n} \right)^3\right)=0$$ where $S_n=X_1+X_2+\cdots +X_n$ Seeing the $\frac{S_n}{\sigma\sqrt n}$ ...
in the article Learning Spatio-Temporal Features with 3D Residual Networks for Action Recognition, it says that for choosing the samples for training from videos: We first select temporal positions of each sample by uniform sampling. 16 frame clips are generated around the selected temporal positions. I want to under...
Let $U_1, U_2,...,U_n$ be a sequence of independent random variables with Uniform distribution over the interval $(0, 1)$ and let $Y = -\frac{1}{\lambda} log(U_1)$ . what is the distribution of Y? i have a feeling this is exponential because I think Y can be seen as an exponential quantile. how to prove this result ...
Imagine we have an experiment, where each subject consumes 2 out of 3 different kinds of chocolate bars (Mars, Snickers, Bounty) and we measure blood sugar subsequently, that is, after 2 of the bars have been eaten (the order of type of first and second is neglible in this problem) . We want to use additive model to me...
I have a dataset where two teams generally compete against each other. For each team, I've gathered demographic characteristics such as the percentage of males, the number of males, average age, percentage of whites, and the number of whites, along with a binary variable (1 or 0) indicating whether a team won a competi...
I have done this PCA analysis and found the score values. Now I want to do another analysis on this data to see that PC loaded in which "Region" (column 1). Now used a NMDS plot using Bray-Curtis distance but it didn't work because of negative values in my data and Bray-Curtis does not accept negative values. Now which...
In regards to optimal design, specifically sequential design or active learning for parameter inference (e.g. linear regression). As I understand it, Bayesian D-optimal design maximises the expected information gain (the mutual information), within a Bayesian framework - that is we are including the prior, and likeliho...
This might be a very basic question, but it seems that in all the examples I've seen, the inverse sampling method (i.e., input uniform RV into the inverse of CDF of desired PDF/probability distribution), is usually done for 1D random variables. This doesn't seem to be very easy for higher dimensional settings, i.e., ra...
I am thinking of using machine learning type classification models to compare them with the traditional approach of logistic regression (dichotomous outcome) in a sample of patients with diabetic foot where the dependent variable (y) would be the level of severity of diabetic foot: low (reference) , high(1). Then, it w...
In ecology there is a simple index for measuring diversity known as the Simpson index. In it simplest formula, it takes a series of proportions, representing the relative abundance (number of individuals) of each species. $$ D = \frac{1}{\sum_i^N p_i^2}$$ As these relative abundances, they all sum to 1, so $\sum_i^N p...
I'm working on a time series prediction task where I need to predict the parameters (amp, phase, freq, offset) that best fit a variable-length input series. The samples are always at the same period. Here are the key details: Input Data: Variable-length series. Consistent sampling period. Parameters to Predict: Amplit...
I was wondering whether there are papers covering the possibility of conducting a DiD analysis with no aggregation group. I am tryng to highlight the impact of a reform on a set of health outcomes, my data come from a US health survey. I divided the individuals into treated and controls but I so not have any aggregatio...
I want to compute power analysis for cross-lagged panel model with random intercept using powRICLPM package (Related publication) Authors of the package did a great job and the power analysis seems to be quite straightforward. However, it is not explained how to estimate the Phi matrix. Phi refers to a matrix of lagged...
I have an (unbalanced) panel dataset with 20 countries, 57 years, and 8 variables, and I would like to cluster the countries according to their dynamic trend in these variables (whether using kmeans or hierarchical clustering does not matter). I have seen this question and this paper which try to assess the issue but ...
I am conducting an analysis to compare the similarities between different images across early and late layers in a CNN. The model I am working with is the pretrained DenseNet121 that comes with pytorch. My procedures are like this: Register forward hooks on features maps transition1.norm, transition2.norm and transiti...
In R, you can easily get the standard error of a linear regression prediction. I want to know how that SE is actually calculated using the standard errors of the slope and intercept. Let's say we have the following X variables: x = c(3,4,6,10,8,7) y = c(2,5,4,9,7,9) n = length(x) model = lm( y ~ x ) summary(model) # th...
I have a dataset of questions from 5 different categories C1, C2, ... C5. Let's say the number of questions from each category has a different size say N1, N2,..N5, and sizes are large. I need to manually analyze these questions' answers to have a say on criteria like whether they are accurate or not, complete or not, ...
In my use of XGBoost with the gradient-based method, I inadvertently set subsample to 0, yet it surprisingly returned a good result. I am not sure how to explain it well. Any idea from the community?
My question contains a few variations; I apologize for this in advance. I have two groups, and I have four outcome measures. These outcome measures are assessments of pain, function, depression level, and quality of life. I want to analyze the difference between the groups on the outcomes before and after a treatment w...
I have an outcome which is a total score from questionnaire. It ranges between 0 and 100 in steps of 2. I have small sample size of 40. I want to look at the effect of hearing loss (yes/no) on this total score. I am wondering whether a linear regression is appropriate for this type of outcome? I need to mention that I ...
I'm dealing with a statistical problem, where I tested a bunch of hypotheses with a very strong positive dependence within certain groups of them. Many of them didn't lead to significant results. Now, the pure number of those positve-dependent insignificant results leads to all other null-hypotheses being accepted as w...
I am trying to perform an ARIMA (SARIMAX in fact) and when looking at the residuals I see a large outlier. I am using python statsmodels.tsa.statespace.sarimax. I have two data series of equal length. There is no voluminous increase in either data series at the start. Sample: endog = [-3.6055070639, -3.5962072768, -3....
I have a standardized index, $x$ (variations in s.d.) and I want to regress my dependent variable, $y$ on it. In my dataset, the index ranges from approximately -2 to 2, but there is no constraint. From a theoretical point of view, the higher the index, the higher should be the value of the dependent variable. So, I co...
I am attempting to perform a multilevel mediation and found this page online with an example: https://stats.oarc.ucla.edu/r/faq/how-can-i-perform-mediation-with-multilevel-data-method-2/ It follows a method laid out in a paper by Bauer et al. (2006): Bauer, D. J., Preacher, K. J. & Gil, K. M. (2006) Conceptualizing and...
I want to do a SEM analysis with an actor-partner interdependence model in Mplus. I managed to calculate it and everything seems right if I look at the means, SD's, effects, etc. But I have a problem with the model fit. The fit indices are weird, and too good... So there must be something wrong with it. I read that if ...
I have two datasets containing size measurements. The initial dataset originates from six different aliquots drawn from a large batch of a product (a suspension with particles). Each sample was individually transferred to its own vial and subsequently measured three times (yielding three replicates per aliquot). The me...
I am reading the paper Exponential Dispersion Models from Jørgesen and at page $137$ I have encountered a claim that I don't know how to prove. The author claims that the Generalised Pearson Statistic, defined as $(y-\hat{\mu})^T V(\hat{\mu})^{-1}(y-\hat{\mu})$, and the Deviance $D(y,\hat{\beta})=2\big(\sup_{\theta\in ...
Using the usual matrix notation for Ordinary Linear Regression, suppose for $X_{n\times p}, Y_{n\times1}, B_{p\times1}$ and $e\sim MVN(0,I_{n\times n})$, we know the 'true' relationship is: $$Y=XB+e$$ But suppose we fit a linear regression using only a subset of the true predictors, so suppose we block off $X$ and $B$ ...
I have a pretty large experiment where we are looking for differences in gene expression in RNA sequencing experiments. We are using EdgeR's GLM functionality, and then using contrasts to look for differences between groups. We are unclear on the most reasonable way to form powerful, informative contrasts that take int...
I have been studying Kernel estimation; in particular, the Nadaraya-Watson estimator. I am interested in studying the rate of convergence in L^p of the NW (or similar) estimators for subgaussian variables. In other words, I would like to study the following problem. Let $(X,Y)$ be random variables in $\mathbb{R}^d$ wit...
I have $3$ predictors: $1$ binary (prenatal alcohol exposure) $1$ categorical with $4$ categories (drinking patterns e.g., light stable, heavy reducer) $1$ continuous (total drinks consumed during pregnancy) $7$ sleep outcomes I have run $21$ linear mixed models. I want to conduct FDR correction on my resulting $p$ v...
I am trying to do a difference in difference model to compare two cities' police departments' uses of force after treatment from a consent decree. When I run the model with clustered standard errors, I get a significant t statistic for the treatment variable, but also a very high p value. I am newer to statistics, so I...
I am learning Markov Chain Monte Carlo (MCMC) simulation as of the moment. My background is civil engineering and please excuse my ignorance if some of the questions are quite obvious. I want to learn MCMC and implement it into my matlab code. To test my understanding, I want to perform an MCMC with an analytical solut...
I have some environmental data collected over 4 different years. I'd like to analyses the change in the proportion of responses of good/very good condition over time in r. Just comparing either good/very good vs. fair/poor over the four years. 2010 2013 2017 2022 Very good 37 34 30 31 Good 42 41 43 40 Fair...
Good morning I should start a meta-analysis but I am facing with a problem of extracting/combining data from one study. I am comparing A versus B population in terms of overall survival. The study reports HRs of subgroups of my populations, that could be easily split, reporting the subgroup HRs having as reference one ...
I have a very small sample size in one group and cannot perform statistical analysis. Is there any other way of performing analysis by artificially generating data and then presenting the results of both?? I have read about data augmentation, but valid is it?
I'm trying to analyze some sleep data from kaggle (this example data does not have correct temperature data but the actual data I will use in the future will have precise temperature) to try to find the temperature value that gives the best sleep quality. At first I thought of trying some linear regression between slee...
I'm analyzing an experiment where the strength of the treatment varied by treatment day in an uncontrolled way. Specifically, we tested the response time of 11 non-overlapping groups honey bees on 4+ days, each. On any given day, only one group was tested under two experimental conditions: first unfed, then fed. How mu...
I'm quite new to this type of statistical analysis, so apologies if the question comes across as silly. I'm currently fitting a mixed lmer with two categorical (condition and outcome; each with 2 levels) and one continious predictor. I found a three-way interaction between them that I wanted to explore with the emmeans...
Reading the wikipedia article on Cross-validation there is an example given for linear regression which contains the statement If the model is correctly specified, it can be shown under mild assumptions that the expected value of the MSE for the training set is (n − p − 1)/(n + p + 1) < 1 times the expected value of t...
I'd appreciate some advice specifying a mixed effects model using the lme4 package in R. I have pre-, post-(1 month after the pre-assessment), and follow-up (3 months after the pre-assessment) measurements on 120 participants. The participants were randomly assigned to either the control or intervention group. My hypot...
I conducted a two-factor experiment with 3 replications on flower diameter under nutrient treatments. I got the data that look like this: Factor A Factor B Replication Flower diameter (cm) A1 B1 1 2.2 A1 B1 2 2.3 A1 B1 3 2.2 A1 B2 1 2.1 A1 B2 2 1.9 A1 B2 3 1.8 A2 B1 1 1.6 A2 B1 2 1.3 A2 B1 3 1.3...
Set Up It's about finding out which formulation (concentration in percentage) and soaking time of formulation yields to a better measured outcome. In the table below, Minutes represent soaking time while the Percentage columns represent the different formulations and its elements being the measured outcome. Then lastly...
In the context of optimizing loan advance decisions for customers with gold loan history, I aim to establish threshold values (x and y) to categorize customers into four groups based on loan count and amount. The goal is to prioritize customers with a positive history to give them higher advance. Groups are divided in...
Apologies if it is a stupid question or has been asked before or I have phrased it the wrong way, but I have been looking for an answer for days and I could not find anything - so any help will be greatly appreciated! I am working with community ecology data and I have time series data showing the species abundance ove...
The following shows part of the page 169 of The Element of Statistical Learning that I want to make clear. We have $$\min_{f \in \mathcal H_K}[\sum_{i = 1}^NL(y_i, f(x_i)) + \lambda\Vert f\Vert_{\mathcal H_K}^2].$$ It can be shown (see Exercise 5.15) that the solution is finite-dimensional, and has the form $$g(x) = \...
In the field of psychometry, Classical Test Theory "CTT" presumes that in a test the observed test score is the result of the true score + error score. The last is thought to raise due to noise, i.e. factors other than the measured entity that affects measurement of that entity. Now, according to CTT if we repeat a tes...
Introduction I find the independent sample t-test to be one of the most misunderstood concepts in statistics. It is used to test for a difference between two population means by comparing the hypothesized difference between the two population means $(\mu_1-\mu_2)$ with the observed sample mean difference $(\overline{...
I sampled three different rivers over one year during the four seasons. In addition, in the autumn and winter seasons I sampled both during an event of high (drought period) and low water (flood period). I have 3 categorical variables (river, season, event) and 11 continuous (environmental parameters, like oxygen, temp...
According to to G. Cumming and S. Finch in their paper "Inference by Eye" the 95% confidence intervals of two independent means can overlap and the difference between the two means can still be significantly different from 0. They found that at approximately 58% overlap the p-value of the t-test changes from significan...
For example, if I want to determine the effect of rain on daily traffic volume. I would include a binary variable whether or not it rained, and a continuous variable for the amount of rain. Would this be redundant?
I have the following time series that I would like to forecast using a Recurrent Neural Network. You can download the csv file from my github here The task I want to solve is the following Given a window of the last $n$ observation, forecast the next 2 values of the series. In order to solve this task, I need first ...
I have helped to validate a new psychological scale and after conducting exploratory and confirmatory factor analyses, we have found the best fit for the scale is a 3-factor structure. The factor loadings between factors range from 0.28-0.56 and when a second order factor is added to create an overall factor, one of th...
I'm working on evaluating an intervention using an interrupted time series approach, and one of our hypotheses involves evaluating its effect on between-individual variation. I'm using lme4 to fit models for the aggregated binomial outcomes we are looking at, and I figured that one approach would be to fit separate ran...
In trying to understand the bootstrap method, I have taken a sample of 11 observations from a Poisson distribution with a mean of two. I have obtained the following sample: Assuming I do not know the true distribution, I want to use bootstrap to estimate the confidence interval of the mean. I take one million bootstra...
I have a neural network and I need to calculate the following: $$\mathbb{E}_{P(\theta|D)}[f(\theta)]=\frac{\sum_\theta P(D|\theta)P(\theta)f(\theta)}{\sum_\theta P(D|\theta)P(\theta)}$$ Where $f$, generally, can be any function, $\theta$ is the parameters of the neural network, and consequently, $P(D|\theta)$ is define...
I am looking for reference books/online material for self-learning the mathematical background in active contours and segmentation models (e.g., snakes, level set, geodesic). Can someone help me with hints?
I have a question concerning he Mediation R package concerning the interpretation of the estimates. I'd like to interpret the results of the Mediation package output. Let's say I have a binary mediator and a binary outcome and the ACME (average) estimate is 0.016 (p<0,05). How can I interpret this estimate? According t...
Apologies for the basic nature of this question. I have collected data before and after an intervention and assessed response to the intervention using a survey. This was a basic survey using a 1-5 scoring system before and after the intervention. I received 9 survey responses prior to the intervention and 5 responses ...