Skip to main content
Post Closed as "Duplicate" by kjetil b halvorsen, Juho Kokkala, Christoph Hanck, Peter Flom regression
deleted 14 characters in body
Source Link
kjetil b halvorsen
  • 82.8k
  • 32
  • 201
  • 663

I'd like to perform an estimation of a probability (bounded [0, 1]) that has several input variables and success/failure results with those values. Some of these input variables have a monotone relationship with the probability, which I would like to use as a restriction.

I found the package isotone which has the routine mregnnP, which appears to at least satisfy the monotonicity + non-negativity. However, I don't see any means to enforce the upper bound (p <= 1). Furthermore, since my training data for this probability is based on events in the form of {0, 1} (success or failure), I don't see any transformation (e.g. logarithm) to guarantee the upper/lower bound while preserving my data.

I could implement the optimization by hand, but I was hoping there might be some pre-built package that would be faster to run and require less time investment.

Any thoughts?

I'd like to perform an estimation of a probability (bounded [0, 1]) that has several input variables and success/failure results with those values. Some of these input variables have a monotone relationship with the probability, which I would like to use as a restriction.

I found the package isotone which has the routine mregnnP, which appears to at least satisfy the monotonicity + non-negativity. However, I don't see any means to enforce the upper bound (p <= 1). Furthermore, since my training data for this probability is based on events in the form of {0, 1} (success or failure), I don't see any transformation (e.g. logarithm) to guarantee the upper/lower bound while preserving my data.

I could implement the optimization by hand, but I was hoping there might be some pre-built package that would be faster to run and require less time investment.

Any thoughts?

I'd like to perform an estimation of a probability (bounded [0, 1]) that has several input variables and success/failure results with those values. Some of these input variables have a monotone relationship with the probability, which I would like to use as a restriction.

I found the package isotone which has the routine mregnnP, which appears to at least satisfy the monotonicity + non-negativity. However, I don't see any means to enforce the upper bound (p <= 1). Furthermore, since my training data for this probability is based on events in the form of {0, 1} (success or failure), I don't see any transformation (e.g. logarithm) to guarantee the upper/lower bound while preserving my data.

I could implement the optimization by hand, but I was hoping there might be some pre-built package that would be faster to run and require less time investment.

Source Link
ecksc
  • 93
  • 5

Monotone, Bounded Local/Spline Regression in R

I'd like to perform an estimation of a probability (bounded [0, 1]) that has several input variables and success/failure results with those values. Some of these input variables have a monotone relationship with the probability, which I would like to use as a restriction.

I found the package isotone which has the routine mregnnP, which appears to at least satisfy the monotonicity + non-negativity. However, I don't see any means to enforce the upper bound (p <= 1). Furthermore, since my training data for this probability is based on events in the form of {0, 1} (success or failure), I don't see any transformation (e.g. logarithm) to guarantee the upper/lower bound while preserving my data.

I could implement the optimization by hand, but I was hoping there might be some pre-built package that would be faster to run and require less time investment.

Any thoughts?