Solving expected value problem with logistic function

Click For Summary
SUMMARY

The discussion centers on solving an expected value problem involving a logistic function, specifically the equation z = p(x) λx - (1 - p(x)) x, where p(x) is defined as p(x) = 1 / (1 + e^(-a - bx)). The user attempted to find a solution using MATLAB but encountered issues due to the absence of an explicit solution. The key challenge is determining the correct value of x to achieve the desired expected value z.

PREREQUISITES
  • Understanding of logistic functions and their properties.
  • Familiarity with expected value calculations in probability theory.
  • Basic proficiency in MATLAB for numerical analysis.
  • Knowledge of algebraic manipulation and solving equations.
NEXT STEPS
  • Explore numerical methods for solving nonlinear equations in MATLAB.
  • Research optimization techniques for expected value problems.
  • Learn about the use of symbolic computation in MATLAB for complex equations.
  • Investigate alternative approaches to logistic regression for similar problems.
USEFUL FOR

Mathematicians, data scientists, and anyone involved in statistical modeling or optimization problems that require understanding of logistic functions and expected value calculations.

tlonist
Messages
1
Reaction score
0
I have an expected value problem where z is a desired expected value and I want to reach and x is an amount I can vary.

There is a probability of success based on a logistic function ρ(x) with a reward of λx and failure with a probability of (1-ρ(x)) and loss of x. I am trying to solve for the correct value of x to reach an expected value z.

So:

z = p(x) \lambda x - (1-p(x)) x

z = \frac{\lambda x}{1+ e^{-a-bx} } + \frac{x}{1+ e^{-a-bx} } -x


I tried solving in Matlab but it says there is no explicit solution and I haven't been able to solve by hand.

What would be the next course of action to solve this? Is there a way to simplify?
 
Physics news on Phys.org
It looks as if ##p(x)=\dfrac{1}{1+e^{-a-bx}}## is a solution.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 76 ·
3
Replies
76
Views
7K