Hi!
For our master thesis, me and my partner want to construct an event study, but the packages "estudy2" & "eventstudy" does not seem to get around with some aspects. I wonder if there are someone out here on this forum that could help get around those issues. We are struggeling quite as lot...
I am trying to run a Mann-Kendall over a group of files, to perform the MK on each one. This is precip data, for each area, over decades. I read the data into R, then create df "datalist". I bind all the files into one, and then split them by the name in the first column ("V1"). This all works...
Hi, I'm new in Statistics world and I have a problem I don't know how to deal with.
Sorry in advance for my English, I'll try to be as clear as possible.
I have a dataset of 9000 machines that need to have a specific repair. For each observation I have the repair time used.
I know from the...
I have completed the process in terms of reaching the end of the steps I've found on numerous tutorial sites/videos however I'm not quite satisfied - how does 10 different imputation datasets and a pooled step-wise regression model give me the final dataset? None of the tutorials address this...
So 60 labs decided to group up to test the null hypothesis (sample mean is equal to zero) against the alternative (sample mean is not). The 60 labs collect 10 samples each and all use an α = 0.05 level. Assuming the null hypothesis is true:
a) Probability that no labs reject the null?
b)...
I am new to the forum, so first, a big hello to all!
I have a question about William's method (comparison of correlation coefficients). I am running it in R with the 'psych' package. I can confidently compare correlation coefficients with each other and that is really cool for a baby R user...
I have recently come across with this post: http://varianceexplained.org/statistics/interpreting-pvalue-histogram/ it was great to understand better what my results mean, but I still have a remaining question I can seam to find the answer for.
To give you some context, I work with DNA...
Hello, I am solving an example of Design of experiments of a variable (DCA).
It turns out that, on having applied logarithmic transformations, durbin watson throws a similar value, being the different graph
library(lmtest)
tb = data.frame("treat" = factor(x = c(rep(1:5, c(4,4,4,4,4)), labels...
Hello, I have already corrected the stationary of my elements with diff, but to analyze the VaR (), CVaR (). It is necessary to create a portfolio, I have seen many packages that have left me confused. How is the procedure to create a crypto portfolio?
that is I must assign all the columns of...
Hi all,
While working on the statistics for my thesis, I became confused while building up my model.
I am currently working on a forecasting model with the use of a LASSO regression. The model is build as follows: the unemployment rate is the dependent variable and as exogenous variables I...
Dear all,
I want to run a Cox model to see if there is an interaction between two treatments. However, the test to see if proportional hazard is respected suggests that it is actually not respected. So I don't know what other statistical survival analysis to do because it means I cannot rely on...
Dear all,
I would like to know how to organize the datasheet to import in R for survival analysis (Surv object, logrank test and Coxph).
Let's consider an experiment with small animals. A cohort of 600 individuals is being followed-up every two days for 6 days (so I have data at day=0, 2, 4...
Hi,
This is my first post here. I'm hoping to get some help/feedback for the following hypothetical problem:
I have a factorial experimental design with 4 groups: (1) Controls, (2) Treatment A, (3) Treatment B, and (4) Both treatments A and B. A total of 100 patients were randomly allocated in...
I have previously used straightforward two-way ANOVAs for comparing bone density across sport disciplines.
I have males (M) and females (F) across low impact (LI) and high impact (HI) sports (N = 92).
I have 24 males and females in in the LI group, 19 females in the HI group, but 39 males in the...
So I have not exactly a homework problem, but I just discovered how fun statistic modelling is, and usually I use already clean datasets.
However, I am dealing with a credit default dataset that a lecturer showed me as a challenge. I want to do a logistic regression, a random forest, and XGBoost...
Hi everyone,
I'm working with a dependent variable which is the number of individuals of an species. The way in which we counted the individuals is along transects, so we have number of individuals in at least 7 plots at different distance from a plantation (from 0-20 m, 20-40 m, 40-60 m, etc)...
Hello, I had created a function and I aimed to verify if it complies with certain data and if it was, then it is stored in another variable.
data = c(12, 20, 11, 16, 18, 32, 22 , 8)
class = function(N){}
tabla1= c(1:8)
for (i in length(N)){
if (data[i]<21.78){
table1[i]= data[i]...
Hello Talk Stats Forum!
I am working on building a Predictive Model using the binary logistic regression and LASSO logistic regression. In order to apply these models on some real data set I am using R software.
Before performing such a model I am testing for multicollinearity and will remove...