We examine for the first time the ionospheric electron density profiles concurrently observed by the GPS occultation experiment (GOX) onboard the FORMOSAT-3/COSMIC (F3/C) and the ground-based digisonde portable sounder DPS-4 at Jicamarca (12A degrees S, 283A degrees W, 1A degrees N geomagnetic) in 2007. Our results show that the F3/C generally underestimates the F2-peak electron density NmF2 and the F2-peak height hmF2. On the other hand, when the equatorial ionization anomaly (EIA) pronouncedly appears during daytime, the total electron content (TEC) derived from the radio occultation of the GPS signal recorded by the F3/C GOX is significantly enhanced. This results in the NmF2 at Jicamarca being overestimated by the Abel inversion on the enhanced TEC during the afternoon period.