I'm a math major, and in an undergraduate real analysis sequence I got a B- and B over the two semesters. A year later I took the first year graduate real analysis sequence and got a B+ and a B over the two semesters. I know there's a lot of outside factors to consider, but in general how do these grades affect my ability to get a Master's in Statistics and a PhD in Computer Science?
My overall GPA is an A-. How can I remedy this track record if it looks negative? Does it involve taking even higher level courses in Real Analysis (i.e., comparable to 6000 level) and getting A's?