I would like to bootstrap the p-value and standard errors from weighted Mann-Whitney U test. I can run the test as: weighted_mannwhitney(c12hour ~ c1 ...
I would like to bootstrap the p-value and standard errors from weighted Mann-Whitney U test. I can run the test as: weighted_mannwhitney(c12hour ~ c1 ...
My goal is to create multiple models and then using a novel dataset, create prediction values for that new data set and the corresponding prediction i ...
My goal is to create multiple models from a dataframe and then generate confidence intervals around the fitted values that correspond to those differe ...
. Answers to this question are eligible for a +50 reputation bounty. Ca ...
I am trying to extract the parameters of a model I have designed for my work, but am having trouble doing so. I will use the iris data provided with R ...
I am trying to perform the following task: take a dataset, and feed it through multiple pre-designed models so that I can see how the predictions diff ...
I have a data set that looks, in abbreviate form, like this: I want to calculate dose response relationships for each combination of type and ref, ...
In my data, I have correlated data (diet and liver) for 50+ different compounds (simplified here). Following the guidance on doing regressions for ...
In the spirit of purr, broom, modelr, I am trying to create a "meta" data.frame in which each row denotes the dataset (d) and the model parameters (yv ...
I am trying to use the permute function in modelr with purrr map to calculate the mean values of two categories of data under permutation. The functi ...
I'm simulating data with a fluctuating number of variables. As part of the situation, I am needing to calculate a model matrix with all possible combi ...
I used gather_predictions() to add several predictions to my data frame. Later on, perhaps after doing some visualizations, I want to add a new model' ...
Can anyone give a suggestion regarding when to use the map() (all map_..() functions) and when to use summarise_at()/mutate_at()? E.g. if we are doin ...
I'm estimating regressions models by groups in my dataset and then I wish to add the correct fitted values for all groups. I'm trying the following: ...
I want to use zoo::na.approx (but not married to this function) to fill in a response variable for the missing days in my dataframe. I'm having a toug ...
I have the following code comparing the rmse of models that differ only in the polynomial term. Is there a more efficient way to iterate through my ...
I came across this example I have been trying to pick up purrr and modelr. This seemed like a good example to try to replicate as it includes both ...
I have found that the following works but the below does not The only difference is that the second line of code uses the median. The error I g ...
I am running a simulation and would like to know if there was a way to access the "x" estimate inside of my model using broom, dplyr, modelr, or purrr ...
I have one long dataset that is composed of several datasets resulting from multiple imputations (let's say 10 imputations). They have an id variable ...