instruction stringlengths 9 38.7k |
|---|
Say that you had data for the point spread of a basketball game: Team A points - Team B points (where team A is the home team and team B the away, if there is no home and away team, then team A is randomly allocated).
You run the regression $spread=\beta_1 home + \beta_2 away + \beta_3 neither$
i.e. regress the point s... |
I found some data on the number of self-employed people per one thousand inhabitants in Europe here. However, in the year 2020, for instance, some statistical units have over one thousand self-employed people per one thousand inhabitants. How is this possible? Am I mistaken?
I am attempting to find and interpret a corr... |
I am running a random forest for classification of a data with three classes in R, and each class has around 20 samples. I am partitioning data into train and test in 80:20 ratio using caret package. As the sample size is low, I used a for loop 1 to 100 to build 100 models to see how accuracy changes with each partitio... |
I'm running a few simple mediation models with differing IVs, but the same M and DV.
IV_1 = race (0 = white, 1 = minority)
IV_2 = racial dissimilarity (continuous variable)
M = engagement (continuous variable)
DV = turnover (binary; 0 = did not turnover, 1 = did turnover)
How can I compare the direct and indirect effec... |
I need to compare two distribution $p$ and $q$. But I don't have access to the distribution $p$, I want to approximate it by distribution $q$ that I construct iteratively by choosing design point. What metric to choose ? Kl divergence ? JS metric ?....
|
What is the difference between the following four random effect structures in R?
m1 = lmer(dv ~ pred1 + (time|id), data = df, REML = FALSE)
m2 = lmer(dv ~ pred1 + time + (time|id), data = df, REML = FALSE)
m3 = lmer(dv ~ pred1 + (1|id) + (1|time:id), data = df, REML = FALSE)
m4 = lmer(dv ~ pred1 + time + (1|id) + (1|ti... |
I have three proportional data H1, H2, and H3. And my null hypothesis H0 would be H2-H1=H3-H2.
What would be the test statistics here? I tried to use the proportional test for H_0:P2=P1. But the test required the sample size for P2 and P1. So in my case, H1, H2, and H3 all have different sample sizes. What test should ... |
In step one of judea pearls causal inference book it is to define your graphical causal model. The second step is identification of the estimand for estimation in step 3. Are there any cases where identification may not be possible? i.e. where our dowhy expression cannot be expressed in terms of conditional expectation... |
Does MLE give a distribution of the possible parameter values?
I don’t think so, but I’m not sure.
I think MLE selects the best parameter assuming that we have, for each parameter value, the possibility of the current dataset given that value. (But when we don’t actually have all those values, we can still infer the be... |
Let's say in a research study, participants receive training, and I measure their learning gains before and after the therapy. At the beginning of the study, before the training, I also administered a questionnaire to measure participations' motivation using a LIKERT-type scale. I want to find out if the training has a... |
I am new to time series analysis.
I need to determine whether my series is seasonal or not, and if it requires differencing for building an ARIMA model if it is possible? The time series data is monthly.
Thank you!
|
Are there any competitions/challenges/datasets fit for testing Pearl's graphical causal inference methods? I do not necessarily mean live competitions.
I would expect these setups to be different than any other ordinary dataset found in Kaggle, as we should be expecting the following components to be part of the setup ... |
I have a dataset containing observations of wave lengths in milliseconds and the corresponding durations of noise in milliseconds. Each observation is labeled with a group (A or B) and a subject.
I want to determine if the proportions of noise in the waves of group A are greater than or equal to those in group B. To qu... |
I want to understand how quantized networks can calculate activations like sigmoid and tanh. I stumbled over this question which mentions the implementation of TF-Lite Micro as an example. Specifically, the implementation of the tanh function in internal/reference/integer_ops/tanh.h lines 62 and 94.
I can see that a LU... |
I am Automatic Differentiation Variational Inference for bayesian inference using PyMC. I am using ADAM optimizer learning rate = 0.0005, number of monte carlo objects = 2, 20,000 iterations and full batch. Below is the -log(loss) graph.
It took 24 hours to run the above optimization process. I wonder what is the best... |
I am working on a logistic regression problem with 2 classes (let's say 0 and 1) where the positive class (1) is rare. In this case, I have found that Fractional-Random-Weight
Bootstrap (FRW) is a good procedure for logistic regression. I was wondering if I get clarification of:
i) FRW bootstrap concepts for logistic ... |
Consider the context of this answer:
It claims that
$$E[\hat{MSE}_{out}] = E[\hat{MSE}_{in}] + 2/N\sum_{i=1}^NCov(y_i, \hat{y_i})$$
However, the reference (ESLII Section 7.4; PDF page 248) does not prove this. According to this post, $2/N\sum_{i=1}^NCov(y_i, \hat{y_i})$ is actually the difference between in-sample erro... |
We gathered driving data from two cohorts of drivers belonging to the same age group. The first cohort, Group A, utilized System A (treatment group), whereas Group B drove vehicles without this system equipped. These two groups were based in different locations. The primary objective of our study is to evaluate the imp... |
I am working with a dataset that consists of three different factory groups, each producing laptops and receiving feedback reports on their products. Each observation includes the total number of laptops made, the number of feedback reports received, and the count of negative feedback. My objective is to analyze the va... |
I have a set of intensities from unordered independent events (with no date or timestamps), many of which constitute extremes, and I want to generate an extreme value distribution. The only information I have other than the intensities is the average number of events that occur per year.
My approach is to generate a se... |
In multiple linear regression model can I use dependent variable as index (composite food security index) and also one independent variable as index. For example livelihood vulnerability index for every household with other determinants. Can I get the answer with proper reference?
|
I would like to obtain the p-value of an interaction term in a logistic regression model. I have tried two methods to accomplish this.
First, I fitted a logistic model that includes the interaction term and obtained the p-value returned by the model (SELECT_GroupGene12:CDKiY, p-value = 0.994). Here's the code and summa... |
Let $\mathbf{u}_t = (u_{1t},u_{2t},\ldots,u_{pt})^{\prime}$ be a $p \times 1$ (stationary) random vector, and let $\mathbf{\Sigma}_{u}$ be the covariance matrix of $\mathbf{u}_t$. Further, denote the precision matrix $\boldsymbol{\Omega}_u=\boldsymbol{\Sigma}_u^{-1}$.
Then there is an interesting reslut linking the pre... |
I have some vector $x$, with mean $\mu_x$ and standard deviation $\sigma_x$, coming from an unknown distribution. I’d like to perform the linear transformation $y = Wx + b$, where $W$ is a matrix and $b$ a vector. I know everything about $W$ and $b$, however I’m only given $\mu_x$ and $\sigma_x$ (i.e., I don't have $x$... |
In Bishop's PRML in section 1.5.2, the author introduces a loss function for classification, which is the expected loss,
$$
E[L]=\sum_k \sum_j \int_{R_j} L_{kj}p(\textbf{x},C_k)d\text{x}
$$
where Lkj is the loss matrix and $p(\textbf{x},C_k)$ is the joint prob distribution of input x and the assigned class Ck.
From tha... |
I've seen something like this in many "prescriptive analytics" software (one example here):
Basically a supervised ML model has been trained to predict a KPI (target variable). After training, one can explore (with a slider) how adjusting values from each individual feature may influence the output.
There is also a re... |
We all know that for the OLS model, if you center both $X$ and $Y$, the estimated intercept would be 0. I was curious if we can do a similar thing for Quantile Regression. Would it be possible if we subtract the accordingly quantile from $X$ and $Y$, and then the estimated intercept would just be 0 as well?
Honestly, I... |
When using a Poisson GLM, its dispersion parameter can be estimated as "residual deviance/degrees of freedom".
But when analyzing Poisson data with a Poisson model (i.e., not overdispersed), I found that this estimated dispersion is not around 1 based on simulation. The deviation from 1 is strongly influenced by the sa... |
We have a manufacturing process $M$ with an unknown reliability $R \in (0,1)$, and, at the end of it, an automatic tool that sorts the good and bad products with a known efficiency of $E \in (0,1)$. Here is what I intend by 'reliability':
Let us denote by $X$ the random variable fabricated by a manufacturing process... |
We're analyzing patient MRI sections of the brain for tumour volume. We do this manually, frame by frame, drawing the borders of the tumour. To ensure more accurate results, we have used two different raters with similar experience. There are differences in two raters' results for different patients. What would be the ... |
So far I have using this process:
1)split data into training and test
2)do model selection(p,d,q, P,D,Q,etc) using training data(in this case, I used autoarima)
from pmdarima import auto_arima
arima_model=auto_arima(x_train,start_p=1, start_q=1,
d=1, test='adf',
max_p=10... |
I am using Process Macro model and the indirect effect (path a*b) is significant. However, the relationship between the predictor (X) and mediator (M) variables is non-significant. How would that be interpreted? Could it still be claimed that M is mediating the relationship between X and Y when there is no relationship... |
I want to calculate similarity between various samples, but I'm limited to only knowing the IQR and medians. I came across a similar problem
here but the top answer states that the newly proposed statistic follows the same distribution, but doesn't explain why it does:
$$t = \frac{\text{Mean}_1 - \text{Mean}_2}{\sqrt{\... |
I'm trying to understand few details about NT-Xent loss defined in the paper "A Simple Framework for Contrastive Learning of Visual Representations" by Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. The loss is defined as
$$\mathcal{l}_{i,j} = -\log\frac{\exp(sim(z_i,z_j)/\tau)}{\sum_{k=1}^{2N}\math... |
I have a (Bayesian) logistic mixed-effects model and a linear one, both fitted with brms. Both are fitted on data from human subjects that account for repetition, therefore, I have included a subject identifier as a random effect.
Now, what I would like to quantify is how much the subject factor matters in the model, a... |
I did a wilcoxon test in R but I don't understand how to interpret the W value and what this means in comparison to another
I did result on 2 data sets and the results are:
W = 9, p-value = 0.1 alternative hypothesis: true location shift is not equal to 0
W = 4, p-value = 1 alternative hypothesis: true location shift i... |
I have the following time series. Its clearly not a simple linear trend. I want to explore the relationship among these variables using a VAR, or even a time-varying VAR. The biggest issue in my data is stationarity. I prefer not to difference as it removes the long-term trends as well.
What would be the best way to de... |
In Bayesian theorem, $p(y|x)=\frac{p(y)p(x|y)}{p(x)}$, we call p(y) the prior, p(x|y) the likelihood. While in machine learning, many models find the solution for parameters through the Maximum Likelihood Estimation(MLE) and then apply derivative to find the solutions. I thought the MLE here corresponds to the likeliho... |
I would be grateful if you could help me clear up some confusion regarding conditional expectation and regression.
I have seen two formulations of the linear regression framework:
$$Y=a+bX+\varepsilon\qquad\qquad(1)$$
and
$$\mathbb{E}[Y|X]=a+bX.\qquad\qquad(2)$$
Often, in an introduction to linear regression it is said... |
I measured students' motivation using a likert type questionnaire and I want to check its effects on some dependent variables in a factorial ANOVA analysis. I wonder if it is okay to create categorical variables from it (e.g., low vs high motivated) and use it as a one factor in the analysis. Is this valid?
|
Setting
There is a dataset in which every datapoint is a list of labels. While I don't have direct access to the whole of the dataset nor to the whole list of labels (I could probably arrange it, but it's huge and I'm hoping it's not necessary), I do have access to datapoints containing certain labels of my choice ($A... |
This is probably very stupid to think about but I am just confused between the difference in adding variables, for example, 'gender', or any group, as a fixed term in regression versus adding the terms as a 'random effect'
Or for example, analysing how weight influenced grip strength between healthy and stroke individu... |
I'm sorry if the terminology is incorrect. I have tried to find some background information through standard google searches, but I've come up short.
I work with data from a quesionnaire on health issues. Through a couple of manipulation, each answer/set of answers is converted to a dichotomous variable, where 1 codes ... |
I have the problem that my logistic regression model overfits. even though I use the combined L1 and L2 penalty ('elastic net').
I have a data set with 496 features and 186 samples and want to predict a binary target. For this purpose, I thought of a logistic regression (because of binary classification) and regulariza... |
I'd like to run A/B Test for Ecommerce Coupon Promotion.
Random Sampling from Total User Group.
Random Grouping into Experimental(Give Coupon) / Control (Don't Give Coupon) 9:1 ratio
Situation likes below :
Num of User
Num of User who Orderd
Total Sales Price
Experimental
90,000(90%)
5,500
15,500,000
Contr... |
I have trouble understanding how R² in a regression analysis makes sense visually in Ballantine diagrams.
For instance:
Obviously the red region is ignored when estimating the coefficients for x on y and w on y. But the red region must still be in the model somehow, otherwise we lose information that is useful in pred... |
I have two groups of different sizes (control and test) and I want to measure the impacte of a certain treatment on the test group. Unfortunately, the control group has a different baseline compared to the test group, before the treatment was put in effect. Despite this difference in baseline, I want to be able to dete... |
I'm interested in determining if an interaction exists between my continuous (SL) and factor (fZone) covariate as it has some basis in biology. An anova() and BIC suggest no interaction is needed, but I've heard the p-values in the anova shouldn't be too heavily relied upon and BIC will almost always choose the most pa... |
I have a dataset of people nested within groups (6 people per group). People within each group are assigned either a condition A or B and the proportions within each group change. Each person in the group provides ratings to some stimuli. I am hoping to generate a simulation that increases this dataset using this neste... |
I have a sample of individuals who migrated from Texas. They are all measured at time 0, within different census tracts. I am interested in seeing how their tract level conditions changed (based on, let's say, variable j) through their move. The individuals are not all measured at the times time 2, but are observed one... |
I am interested in the analysis of interaction between variables in a regression model.
First, the context : I work in marketing and the explanatory variables corresponds to marketing channels, therefore it is interesting to know what are the combinations of marketing channels that are worth in terms of sales volume (s... |
I am interested in plotting the marginal effects in my GAMLSS model. However, what puzzles me a bit is that when using the term.plot() function from the gamlss package I do get estimates for the baseline category of a factor as well. However, when fitting a GAM model with the package mgcv the baseline category is alway... |
When comparing model performance, is it valid to use the Wilcoxon signed rank test for matched pairs, when the accuracy metric is the Brier score?
(Here, the Brier score is used in calculating the OOB error, which is available using the Ranger RF package - but this question is asked in general terms. I'm comparing two ... |
I consider a linear model with an interaction term.
Y = b0 + b1X + b2Z + b3XZ
X, Z are the independent variables. b1 to b3 are the regression coefficients. The variances of b1 and b3 are s11 and s33, respectively; the covariance of b1 and b3 is s13. Is there a name for s13 / (sqrt(s11) * sqrt(33))? It looks like the fo... |
I need some help calculating a sample size.
I have two groups of people to whom I need to fill out a questionnaire. Group A consists of 45,000 people and group B consists of 3,000 people.
How do I know what is the right sample size for group A and group B?
Thank you very much in advance!
|
This question is a follow-up to this question I asked here last week. I got an important and useful answer to it, but what that led to was surprising. And once again, here is a link to the GitHub Repo for this project.
I am running N LASSO Regressions, one for each of N datasets I have in a file folder to serve as one ... |
I am learning epidemiology and am puzzled with the following issue.
Assume we have a prospective cohort study with the following results:
1000 participants alive at baseline (N)
12 years of follow-up
200 participants died over the observation period
12000 person-years of follow-up.
According to my calculations, the i... |
I have multiple time series on which I want to identify statistically significant (if any) trends.
To that end, I started by conducting the Augmented Dickey Fuller (ADF) test to identify which series are not stationary (thus implying an underlying trend):
Augmented Dickey-Fuller Test (p-value):
#0: 0.7400121258386816 ... |
In Rasmussen's Gaussian Processes for Machine Learning, the joint distribution of noisy function observations, $y=f(x)+\epsilon$, at $x$ and noiseless function evaluations, $f^\star$, at unseen points, $x^\star$, given the hyperparameters of the kernel and the noise variance is
$$
\begin{bmatrix}
y \\
f^\star
\end{bmat... |
I came up with the certain identity relating difference between Pi and convergents to Pi on the left hand side via expression with five integer parameters (n i j k l) on the right hand side.
For each "n" I obtained some empirical solutions in the form of (i j k l) set via computer program utilizing brute force trial an... |
Background: I have trained a deep neural network model with 3 hidden layers of size 32,32,16 for binary classification problem. I have 9 input features and a 0 or 1 as output. My aim is to use this trained model in an application where I provide the 9 features (computed dynamically in the application code), and I get a... |
I am working on implementing a model in R. I thought I had a pretty good approach, but one of my collaborators has pointed out that the model degrees of freedom from lmerTest don't make sense for the interaction term.
First, a description of the experimentIn my data I have two fixed effects: "Species" is categorical, w... |
sorry if this has been asked before but I have searched the internet a lot but have not been able to find a satisfactory answer.
I have a time series (approximately 25 points) and I have implemented Binary Segmentation to detect a changepoint in the time series. My question is, how do I see if this changepoint is stati... |
Consider $X(ij)$ for $i = 1, ..., n$ and $j = 1, ...,n$ be random variables.
I proved that for each i, the sequences $X($i$j)$ converge in distribution to random variable Y as $n$ tends to $\infty$. More precisely,
$ \begin{bmatrix}
X(11) & X(12) & X(13) & X(14) & ... & \rightarrow_d Y \newline
X(21) & X(22) & X(23) &... |
Does it have to do with the interdependence of one equation on the lagged values of its own as well as the other equations?
If I remember correctly, in simultaneous equations, cross-causality is also a cause for endogeneity, but in VAR models the causality moves in one direction, the past impacts the future and not vic... |
I have come to know about scatterplot matrices, where pairwise scatterplots for covariates are built and then binary responses are jittered. This plot is helpful to give an idea about how each covariate has an effect on the response without fitting a logistic regression. But I actually don't understand the plot really.... |
I have two arrays of data:
# of Files
Time to Process in seconds
1
8
2
20
3
31
4
76
What I'm wanting to do is come up with an estimate of how long it will take to process n number of files. I have processed 1-4 files and have noted the time it takes in seconds to process n number of files. I guess I'm... |
What properties should there of a subscale to be used independently of the whole scale?
I am looking for a scale that measures a specific perceived parenting style, but there is no scale for it. Instead every other scale has multiple constructs. Now, the issue is the number of items along with other constructs of no in... |
I am trying to build a logistic regression model. My test and training sets are generating almost the same AUC. Ideally- this means that the model is performing very well. But since, I got this result at my very first attempt of building this model- I am a bit skeptical in accepting the fact that I have come up with a ... |
I plan to run a logistic regression model to understand the influence of temperature on the occupancy of a hare species. However I can't decide on which aspect of temperature should I consider as my covariate? Is it minimum temperature that I should take? maximum? mean? how do I determine which one would be the best on... |
I am reading a topic about point estimation of model parameters. I understood it as follows:
We have "observed" a sample $X_1,...X_n$ where we know it's distribution, i.e. the sample is identically distributed w.r.t. $\mathcal{F}_\theta$ where $\theta\in \Theta$ is a model parameter (not necessarily one dimensional). ... |
Suppose I run AB testing for a website that does subscription business. The company offers a free trial for 7 days before automatically enrolling users to subscriptions and charging them unless they cancel before the trial ends.
The treatment is trial reminder message at the checkout page and a push notification before... |
Above is a snippet of a dataset I am working with. It is a pull from a research tool presenting a set of many different and distinct attributes that have been sorted into numerous "categories" and "insights", some of which only occur once in the dataset (e.g. "Horror" or "Entertainment Lifestyle" on the far right.) an... |
I am trying to estimate the effect of an experimental intervention (random assignation to treatment and control groups) with the percentage of people in each group assisting to government services as the outcome variable. If i just wanted to know the impact of the intervention, a simple difference in the percentages wo... |
When dealing with non-stationary time series (for instance, in auto-correlation analysis), differencing (computing absolute differences between consecutive samples/observations) is often regarded as the simplest method of de-trending the data.
In theory, the first derivative (similar to what is obtained when computing ... |
I was reading this amazing article about FWL theorem and it's application to causal inference.
In the article, there are some examples showing that the coefficients of an OLS estimator is the same when estimating the coefficients using the FWL theorem. If that's the case, what is the point of using causal inference to... |
I am struggling with the following problem: $X_1, X_2 \sim N(0, 1)$ are independent random variables. Let $Y_1 = \frac{1}{\sqrt{2}}(X_1 + X_2)$ and $Y_2 = \frac{1}{\sqrt{2}}(X_1 - X_2)$. Show that $Y_1, Y_2$ are independent, and have $N(0, 1)$ distibution. So $$Y_1 ∼N\left(0, \left(\frac{1}{\sqrt{2}}\right)^2\times 1 +... |
I have a data set in which all patients have a particular disease. The disease has three varieties labeled as 0, 1, and 2 in the data set. I want to know the association of a particular drug with this disease. Some of the patients are taking the drug some are not.
For the case-control study, If I assume the patients wi... |
I am reading a paper where, on the page 13, the authors state that the survival times $T_i$ are generated from a proportional hazards (PH) model with hazard function:
$$\lambda_T(t\mid X_i, W_i)=\exp(\beta X_{i1}+(-0.5-\gamma_1 X_{i2})W_i)\sqrt{t}/2$$
where $W_i$ is the treatment assignment. The censoring times are gen... |
My understanding of principal components regression (PCR) is that it is a linear regression performed on all or a subset of predictors obtained via PCA. All the resources I've read only apply linear regression following the PCA step, but I've found nothing that explicitly warns against using other regression models.
Do... |
When presenting data under the form of a table, an error can be to omit mentioning the unit of measure, leading to possible misinterpretation.
What are some other possible mistakes to avoid?
Additionally, what are some things to do to improve a table? (while not doing these things won't necessarily generate misinterpre... |
I have 20 years' worth of observations that either say YES or NO to the question of whether breeding was observed. I want to present the averages of the YES observations across the years, demonstrating what the average breeding effort looks like across a 20-year period. My issue is that early on a lot fewer observation... |
So I estimated a particular statistic $\Phi$ (custom made) by bootstrapping 1000 samples from the original dataset to generate 1000 different $\Phi$s. The issue is that saving those 1000 bootstrap statistics was not at all memory efficient, so I decided to just save the summary statistics from the bootstrap samples. Sa... |
How would I smooth a series of data without losing the ends of a series? For example, if I have $i_1, i_2, \dots, i_n$, and I apply a moving average, I lose the start and end of the series ($i_1$ and $i_n$, certainly, and perhaps more). I can't seem to find any smoothing method that lets me keep both ends of the series... |
I am hypothesizing that a certain event caused prices of commodity A to become more volatile. I obtained monthly price data for commodity A as well as a price index for a larger bucket of products similar to commodity A (let's call it B) which I will use as a control. I have 10 years (120 periods) of data for both befo... |
An enemy that can drop loot has a 10% probability of spawning out of all enemies. Only one model type can drop loot out of 8 models (1/8). What is the probability of a specific enemy dropping loot, if they are the model that can drop loot? Would 0.1 + 0.125 = 22.5% chance be correct?
|
I've made the gam in the code below (in R), but I'm struggling to interpret the results. Specifically, the partial response plots for all but one of the variables is linear, and the CI lines cross in the middle. I've done some looking around and can't find out what this means.
Given these plots, is this model valid? Is... |
I would like to use a generalised linear model to analyse data on the relationship between the size of a host and probability of parasitism in a wild population to determine the minimum host size at which parasitism is likely. The independent variable is continuous (host size) and the dependent variable is binomial (u... |
I am interested in adding a variable to a repeated measurements model, LMM (3 measurements of QOL). But unlike gender, for example, which does not change between measurements, the variables I want to add are dichotomous indicating whether a patient was hospitalized between the first and second measurement and likewise ... |
How many samples are required to identify the most frequent element?
I'm assuming the frequency of the elements in the distribution follow the power law.
|
I have a score (ranging from 0 to 1000) which predicts a binary event. The score is based on a regression. Scores are binned. There should be a maximum of $x$ (e.g. $10$) bins. Predicitions within a bin should be homogenous meaning they have a similar average rate of the target.
This is normally tested by splitting all... |
I have a dataframe of 411 rows where each row represents a pass (football) and four columns. Two columns are the x and y coordinates of the location where the pass starts, and the other two columns are the x and y coordinates of the location where the pass ends.
I am trying to implement pseudocode from an academic pape... |
If X is observed and unobserved, how many free parameters are needed respective?
|
I'm trying to calculate the expectation of the following numerically:
$$\mathbb{E}[V(\theta)]$$ where $\theta\sim N(\mu,\sigma^2)$ and $V(\theta)$ is strictly increasing.
I'm struggling to understand what would be the efficient grid points where there are no upper and lower bounds. If I imagine 1000 uniform grid points... |
I am trying to plot fitted values (fitted.sens.early) of the models below as a line over the original values (reading) as points. But I changed from using lme() to lmer() and the produced graphs don't match up. I cant figure it out myself, so if anyone could help out, that would be greatly appreciated!
An exerpt from m... |
As part of my master's thesis, I am currently investigating the impact of a law in the area of tax law on municipalities. Usually, according to the literature I found, the differences-in-differences approach is used in such cases. I have data from about 70 municipalities over an eight-year period.
Now in my case I don'... |
I have a group of patients that I want to match on a number of variables: age, sex, BMI in category (5 categories), year and comorbidity score.
In order to be computationnaly efficient I'd like to do an exact matching on year, sex and BMI category, then nearest neighbor matching or optimal matching on the other 2 varia... |
Let $X$ be a random variable with p.d.f.: $$f(X|\theta) = \frac{e^{x-\theta}}{(1+e^{x-\theta})^2}$$
where $-\infty<x<\infty$ and $-\infty<\theta<\infty$
Use the pivotal method to verify that if $0<\alpha_1<0.5$ and $0<\alpha_2<0.5$, then
$$\left[X-\log\left(\frac{1-\alpha_2}{\alpha_2}\right),X-\log\left(\frac{\alpha_1... |
Thank you very much for your attetion!
I am working on an observation study with time-to-event data. The data has multiple covariates say V1-V5. I want to evaluate the treatment effect, so I used IPTW (weightit package) to balance V1-V5. Balance was achieved between treatment group after IPTW. However, the KM curve and... |
I have a multiclass timeseries classification problem with 11 classes. The class 0 is my negative class, and the classes 1~10 are the positives and they are generated (using some equations) based on the samples from class 0. Those timeseries are hourly measurements of energy consumption in kWh.
One of those positives c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.